]> granicus.if.org Git - graphviz/commitdiff
remove explicit linking of libstdc++
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 21 Sep 2020 00:38:52 +0000 (17:38 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 27 Sep 2020 02:00:02 +0000 (19:00 -0700)
The autotools build should now be compatible with libc++. Closes #163.

CHANGELOG.md
cmd/dot/Makefile.am
cmd/edgepaint/Makefile.am
cmd/mingle/Makefile.am
configure.ac
debian/TODO
plugin/gdiplus/Makefile.am

index 433f193c6b0357174329c0a6dd9a33ec1d3276ac..c7e69f4b1f4361f6a72af94daa3c0b1e85ed89e3 100644 (file)
@@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - sfio does compile time benchmarknig #1422
 - iffe "lib" check always succeeds when compiler optimises #1521
 - syntax error near text who is not present #1411
+- Explicitly links with libstdc++; should allow libc++ if appropriate #163
 
 ## [2.44.1] - 2020-06-29
 
index 0661110c8d77e933ffc8ccc829a43468538607b0..a40d45aada85c5e3d472b06e2e69aa9691279225 100644 (file)
@@ -134,8 +134,8 @@ endif
 endif
 
 if WITH_LASI
-dot_static_LDADD += $(top_builddir)/plugin/lasi/.libs/libgvplugin_lasi_C.a $(LASI_LIBS) -lstdc++
-dot_builtins_LDADD += $(top_builddir)/plugin/lasi/libgvplugin_lasi.la $(LASI_LIBS) -lstdc++
+dot_static_LDADD += $(top_builddir)/plugin/lasi/.libs/libgvplugin_lasi_C.a $(LASI_LIBS)
+dot_builtins_LDADD += $(top_builddir)/plugin/lasi/libgvplugin_lasi.la $(LASI_LIBS)
 endif
 
 # add a non-existent C++ source to force the C++ compiler to be used for
index 735db97cc47bd1840244572d9a652f1713bbd0e6..32f3f977c9f900e33254ab74da8e3f286d8c199f 100644 (file)
@@ -37,7 +37,7 @@ edgepaint_LDADD = \
        $(top_builddir)/lib/edgepaint/liblab_gamut.la \
        $(top_builddir)/lib/cgraph/libcgraph.la \
        $(top_builddir)/lib/cdt/libcdt.la \
-       $(ANN_LIBS) -lstdc++ -lm
+       $(ANN_LIBS) -lm
 
 # add a non-existent C++ source to force the C++ compiler to be used for
 # linking, so the C++ standard library is included for our C++ dependencies
index 9768b3e516fea805b73238335a097465a4cb0841..5c126204afde773fc2ba4c01c86ede65a244c39f 100644 (file)
@@ -38,7 +38,7 @@ mingle_LDADD = \
        $(top_builddir)/lib/common/libcommon_C.la \
        $(top_builddir)/lib/cgraph/libcgraph.la \
        $(top_builddir)/lib/cdt/libcdt.la \
-       $(ANN_LIBS) -lstdc++ -lm 
+       $(ANN_LIBS) -lm
 
 # add a non-existent C++ source to force the C++ compiler to be used for
 # linking, so the C++ standard library is included for our C++ dependencies
index c1f184b9a0c2df9a79024c41a7ba1ea0f8b1b744..9b7768427c532a698f1be7aec696444877dbe0e3 100644 (file)
@@ -2817,7 +2817,7 @@ else
     use_ipsepcola="Yes"
     AC_DEFINE_UNQUOTED(IPSEPCOLA,1,[Define if you want IPSEPCOLA])
     IPSEPCOLA_INCLUDES='-I$(top_srcdir)/lib/vpsc'
-    IPSEPCOLA_LIBS='$(top_builddir)/lib/vpsc/libvpsc_C.la -lstdc++'
+    IPSEPCOLA_LIBS='$(top_builddir)/lib/vpsc/libvpsc_C.la'
     AC_SUBST([IPSEPCOLA_INCLUDES])
     AC_SUBST([IPSEPCOLA_LIBS])
   fi
index 0f28bf9f8019d914f2bebe60155749b2da8dc415..9640611bc3ca45f4e2fad11344b16f91b27ff38e 100644 (file)
@@ -11,7 +11,6 @@ TODO for graphviz
     see debian/rules.
   * Think about putting the configuration file into /var, see the discussion
     with Alexander on the 10th of August.
-  * Stop using -lstdc++ and use CXX (not trivial actually).
   * Adjust --build and --host options to ./configure so as to support cross-
     compilation correctly.
   * The Conflicts between libgv-perl and older graphviz might go away since the
index faf9f9f2fea43c237dc6e2f145da0047ee3cf1b1..31056ff00225c945c5dad3bd55247009ecceec45 100644 (file)
@@ -36,7 +36,7 @@ libgvplugin_gdiplus_C_la_SOURCES = \
 libgvplugin_gdiplus_la_LDFLAGS = -version-info @GVPLUGIN_VERSION_INFO@ -Wl,"$(PLATFORMSDKLIB)\GdiPlus.lib"
 nodist_libgvplugin_gdiplus_la_SOURCES = GdiPlus*.h
 libgvplugin_gdiplus_la_SOURCES = $(libgvplugin_gdiplus_C_la_SOURCES)
-libgvplugin_gdiplus_la_LIBADD = -lgdi32 -lole32 -lstdc++ -luuid $(top_builddir)/lib/gvc/libgvc.la
+libgvplugin_gdiplus_la_LIBADD = -lgdi32 -lole32 -luuid $(top_builddir)/lib/gvc/libgvc.la
 
 if WITH_WIN32
 libgvplugin_gdiplus_la_LDFLAGS += -no-undefined