summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2020-01-06 20:47:23 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2020-01-06 20:47:23 (GMT)
commitdfc955c4b192f3116e8e2408eb028a127b679b7a (patch)
treed13d156a744d5cf6bf67ba0d2c5d9d2016f6e0cc
parent0ffd9347a35a9a4b78cf97fe3c17cc9459f171be (diff)
parent6dd67111a19ce6cecfca859fedd0086d57a1a4fe (diff)
downloadblt-dfc955c4b192f3116e8e2408eb028a127b679b7a.zip
blt-dfc955c4b192f3116e8e2408eb028a127b679b7a.tar.gz
blt-dfc955c4b192f3116e8e2408eb028a127b679b7a.tar.bz2
Merge commit 'f9756b125b62c8e73505d36b864f08d48e1418fb'
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index f5401a3..639d770 100755
--- a/configure
+++ b/configure
@@ -5494,7 +5494,7 @@ generic/tkbltDecls.h
- vars=""
+ vars="-lstdc++"
for i in $vars; do
if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
# Convert foo.lib to -lfoo for GCC. No-op if not *.lib
diff --git a/configure.ac b/configure.ac
index 6e1474f..4d8f5e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,7 +131,7 @@ generic/tkbltVector.h
generic/tkbltDecls.h
])
TEA_ADD_INCLUDES([])
-TEA_ADD_LIBS([])
+TEA_ADD_LIBS([-lstdc++])
if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes"; then
TEA_ADD_CFLAGS([-TP -EHsc -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES])
fi