We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ea8756 commit 42d2f10Copy full SHA for 42d2f10
c_src/Makefile
@@ -20,7 +20,8 @@ ifeq ($(UNAME_S),Darwin)
20
LDFLAGS += -undefined dynamic_lookup -flat_namespace
21
SO_EXT = .so
22
else ifeq ($(UNAME_S),Linux)
23
- LDFLAGS += -Wl,-rpath,'$$ORIGIN'
+ # Export Python symbols for extension modules, set rpath for runtime
24
+ LDFLAGS += -Wl,--export-dynamic -Wl,-rpath,'$$ORIGIN'
25
26
else
27
SO_EXT = .dll
0 commit comments