Skip to content

Commit 4132323

Browse files
authored
Add back required libpq static linking flags (#2011)
Add back the following linker options: * -lpgcommon * -lpgport These got removed at some point to test if they were still needed (they are), but for some reason never got added back. Resolves: #2009
1 parent 845f265 commit 4132323

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

flake.nix

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,8 @@
244244
# libpq static is pretty broken in nixpkgs. We can't rely on the
245245
# pkg-config, so we have to add the correct libraries ourselves
246246
#
247-
# TODO[sgillespie]: Are these still required? Review the
248-
# postgresql/nixpkgs packaging scripts
249-
#
250-
# "-optl-Wl,-lpgcommon"
251-
# "-optl-Wl,-lpgport"
247+
"-optl-Wl,-lpgcommon"
248+
"-optl-Wl,-lpgport"
252249
"-optl-Wl,-lm"
253250

254251
# Since we aren't using pkg-config, it won't automatically include

0 commit comments

Comments
 (0)