diff --git a/utils/Makefile.in b/utils/Makefile.in index d74f372193..ad184adf57 100644 --- a/utils/Makefile.in +++ b/utils/Makefile.in @@ -2,7 +2,7 @@ # Makefile : Builds wxWindows utils for Unix. # -UTILS_SUBDIRS=tex2rtf hhp2cached makegen HelpGen dialoged helpview +UTILS_SUBDIRS=tex2rtf hhp2cached makegen HelpGen dialoged helpview configtool all: @for d in $(UTILS_SUBDIRS); do (cd $$d && $(MAKE)); done diff --git a/utils/configtool/src/Makefile b/utils/configtool/src/Makefile index b189631ffd..65483082d0 100644 --- a/utils/configtool/src/Makefile +++ b/utils/configtool/src/Makefile @@ -127,6 +127,11 @@ else include $(top_builddir)/src/makeprog.env endif +# Need to place -lsupc++ at end of libs or we get +# link errors. Note the := syntax to prevent a +# recursive variable error. +LDLIBS:=${LDLIBS} -lsupc++ + # Only omit C++ libs for economy of size on Unix ifeq "$(WXTOOLKIT)" "msw" CC=c++ diff --git a/utils/configure b/utils/configure index a85526b819..1c8fe9c402 100755 --- a/utils/configure +++ b/utils/configure @@ -660,6 +660,8 @@ trap 'rm -fr `echo " emulator/src/Makefile helpview/Makefile helpview/src/Makefile + wxconfigtool/Makefile + wxconfigtool/src/Makefile " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF diff --git a/utils/configure.in b/utils/configure.in index 39a4a5f333..165039beda 100644 --- a/utils/configure.in +++ b/utils/configure.in @@ -30,4 +30,6 @@ AC_OUTPUT([ emulator/src/Makefile helpview/Makefile helpview/src/Makefile + wxconfigtool/Makefile + wxconfigtool/src/Makefile ])