Thanks to visit codestin.com Credit goes to github.com
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 44328e6 commit c716684Copy full SHA for c716684
1 file changed
Demo/embed/Makefile
@@ -22,14 +22,15 @@ LIBPYTHON= $(blddir)/libpython$(VERSION).a
22
23
# XXX edit LIBS (in particular) to match $(blddir)/Modules/Makefile
24
LIBS= -lnsl -ldl -lreadline -ltermcap -lieee -lpthread -lutil
25
+LDFLAGS= -Xlinker -export-dynamic
26
SYSLIBS= -lm
27
MODLIBS=
28
ALLLIBS= $(LIBPYTHON) $(MODLIBS) $(LIBS) $(SYSLIBS)
29
30
# Build the demo application
31
all: demo
32
demo: demo.o
- $(CC) demo.o $(ALLLIBS) -o demo
33
+ $(CC) $(LDFLAGS) demo.o $(ALLLIBS) -o demo
34
35
# Administrative targets
36
0 commit comments