Added -lsupc++ to end of LDLIBS to avoid link errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21152
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
# 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
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++
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 <<EOF
emulator/src/Makefile
helpview/Makefile
helpview/src/Makefile
+ configtool/Makefile
+ configtool/src/Makefile
"}
EOF
cat >> $CONFIG_STATUS <<\EOF
emulator/src/Makefile
helpview/Makefile
helpview/src/Makefile
+ wxconfigtool/Makefile
+ wxconfigtool/src/Makefile
])