--- Makefile.in.orig Thu Jan 8 13:11:45 2004 +++ Makefile.in Thu Jan 8 12:40:13 2004 @@ -639,7 +639,8 @@ bin/smbwrapper.@SHLIBEXT@: $(PICOBJS) bin/.dummy @echo Linking shared library $@ - @$(SHLD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LDFLAGS) $(LIBS) \ + @nm smbwrapper/wrapped.po | $(AWK) -F\| 'BEGIN { printf "{\nglobal:\n" } $$5 ~ /GLOB/ { if ( $$7 !~ /UNDEF/ ) { printf "%s;\n", $$NF }} END { printf "local: *;\n};\n" }' > smbwrapper/mapfile + @$(SHLD) @LDSHFLAGS@ -M smbwrapper/mapfile -o $@ $(PICOBJS) $(LDFLAGS) $(LIBS) \ @SONAMEFLAG@`basename $@` bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32) bin/.dummy