[Python-checkins] CVS: python/dist/src/Demo/embed Makefile,1.4,1.5
Guido van Rossum
python-dev@python.org
Mon, 10 Jul 2000 09:22:15 -0700
Update of /cvsroot/python/python/dist/src/Demo/embed
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30444
Modified Files:
Makefile
Log Message:
Add linker flag -export-dynamic so symbols in libpython*.a are exported.
Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/embed/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Makefile 2000/07/10 14:35:12 1.4
--- Makefile 2000/07/10 16:22:12 1.5
***************
*** 23,26 ****
--- 23,27 ----
# 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=
***************
*** 30,34 ****
all: demo
demo: demo.o
! $(CC) demo.o $(ALLLIBS) -o demo
# Administrative targets
--- 31,35 ----
all: demo
demo: demo.o
! $(CC) $(LDFLAGS) demo.o $(ALLLIBS) -o demo
# Administrative targets