AC_PATH_PROG(LIBTOOL, glibtool)
else
AC_PATH_PROG(LIBTOOL, libtool)
+ AC_SUBST(EDYNAMIC, -export-dynamic)
fi
echo $host_os;
OUTFILES=buildinf netmud info_slave
# Libs EXCEPT for SQL ones
-LIBS=$(CLIBS)
+LIBS=$(CLIBS)
CFLAGS=$(CCFLAGS) $(SQL_CFLAGS)
@echo "Making netmud."
-mv -f netmud netmud~
# $(CC) $(CCFLAGS) -o netmud $(O_FILES) $(LDFLAGS) $(SQL_LDFLAGS) $(LIBS)
- $(LIBTOOL) --mode=link $(CC) -export-dynamic $(LDFLAGS) $(SQL_LDFLAGS) $(CCFLAGS) -o netmud $(O_FILES) $(LIBS)
+ $(LIBTOOL) --mode=link $(CC) @EDYNAMIC@ $(LDFLAGS) $(SQL_LDFLAGS) $(CCFLAGS) -o netmud $(O_FILES) $(LIBS)
# We recompile mysocket.c instead of reusing mysocket.o because we