everyone to use a c++ compiler conditionally link with -lstdc++
and hope for the best.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@46879
f5534014-38df-0310-8fa8-
9805f1628bb7
wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
if HAVE_WIRESHARK_CPP
-nodist_EXTRA_wireshark_SOURCES = dummy.cpp
+# Ideally we could trigger automatic c++ linking here with
+# nodist_EXTRA_wireshark_SOURCES = dummy.cpp
+# Unfortunately that check is done by automake and not configure
+# c++ linking for Wireshark at all times.
+wireshark_LDFLAGS += -lstdc++
endif
if ENABLE_STATIC