Add linker flag -export-dynamic so symbols in libpython*.a are exported.
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 @@
 
 # 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 @@
 # Build the demo application
 all:		demo
 demo:		demo.o
-		$(CC) demo.o $(ALLLIBS) -o demo
+		$(CC) $(LDFLAGS) demo.o $(ALLLIBS) -o demo
 
 # Administrative targets