Only export the Spice_Init symbol

This commit is contained in:
stefanjones 2003-01-15 10:44:23 +00:00
parent 81a4e6a5fa
commit 58ff49faf5
2 changed files with 5 additions and 1 deletions

View File

@ -202,7 +202,7 @@ tclspice.o: tclspice.c
$(COMPILE) -c -fpic tclspice.c -DTCLSPICE_version="\"$(TCLSPICE_VERSION)\""
libspice.so: $(ngspice_OBJECTS) $(LIBSPICE_OBJS) $(ngspice_DEPENDENCIES)
$(LINK) $(ngspice_LDFLAGS) $(ngspice_OBJECTS) $(ngspice_LDADD) $(LIBS) $(LIBSPICE_OBJS) -shared -lpthread
$(LINK) $(ngspice_LDFLAGS) $(ngspice_OBJECTS) $(ngspice_LDADD) $(LIBS) $(LIBSPICE_OBJS) -shared -lpthread -Wl,--version-script tclsymbols
if test -f .libs/$@ ; then \
mv .libs/$@ ./ ;\
rmdir .libs ;\

4
src/tclsymbols Normal file
View File

@ -0,0 +1,4 @@
{
global: Spice_Init;
local: *;
};