summaryrefslogtreecommitdiff
path: root/pkgs/servers/sql/postgresql/patches/export-dynamic-darwin-15-.patch
blob: fa0f4be4de7f4d4bd11ccf3c920d5d2c3bfcfeb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
See https://postgr.es/m/eb249761-56e2-4e42-a2c5-b9ae18c1ca1f%40technowledgy.de
---
--- a/src/makefiles/Makefile.darwin
+++ b/src/makefiles/Makefile.darwin
@@ -5,6 +5,8 @@ DLSUFFIX = .so
 # env var name to use in place of LD_LIBRARY_PATH
 ld_library_path_var = DYLD_LIBRARY_PATH
 
+export_dynamic = -Wl,-export_dynamic
+
 ifdef PGXS
   BE_DLLLIBS = -bundle_loader $(bindir)/postgres
 else