summaryrefslogtreecommitdiffstats
path: root/Demo/embed
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-07-10 16:22:12 (GMT)
committerGuido van Rossum <guido@python.org>2000-07-10 16:22:12 (GMT)
commitc716684df85d3a5f22616a8e8565b49911df1129 (patch)
treea4a447c81ba55e3ad23f4f11c12b47c3a5c4faf9 /Demo/embed
parent44328e60df37993f7342742e25b89a09979e9ed9 (diff)
downloadcpython-c716684df85d3a5f22616a8e8565b49911df1129.zip
cpython-c716684df85d3a5f22616a8e8565b49911df1129.tar.gz
cpython-c716684df85d3a5f22616a8e8565b49911df1129.tar.bz2
Add linker flag -export-dynamic so symbols in libpython*.a are exported.
Diffstat (limited to 'Demo/embed')
-rw-r--r--Demo/embed/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/embed/Makefile b/Demo/embed/Makefile
index 92f4df3..fb2b1ed 100644
--- a/Demo/embed/Makefile
+++ b/Demo/embed/Makefile
@@ -22,6 +22,7 @@ LIBPYTHON= $(blddir)/libpython$(VERSION).a
# XXX edit LIBS (in particular) to match $(blddir)/Modules/Makefile
LIBS= -lnsl -ldl -lreadline -ltermcap -lieee -lpthread -lutil
+LDFLAGS= -Xlinker -export-dynamic
SYSLIBS= -lm
MODLIBS=
ALLLIBS= $(LIBPYTHON) $(MODLIBS) $(LIBS) $(SYSLIBS)
@@ -29,7 +30,7 @@ ALLLIBS= $(LIBPYTHON) $(MODLIBS) $(LIBS) $(SYSLIBS)
# Build the demo application
all: demo
demo: demo.o
- $(CC) demo.o $(ALLLIBS) -o demo
+ $(CC) $(LDFLAGS) demo.o $(ALLLIBS) -o demo
# Administrative targets