From 71eda122e8649df6f78e8972119c161c75a2056b Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 16 Jan 2023 22:54:53 +0100 Subject: Fix shared library build on Solaris as requested by STR 3378 I couldn't test this though. Reference: https://www.fltk.org/str.php?L3378 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7fdff4cfb..65df603c8 100644 --- a/configure.ac +++ b/configure.ac @@ -306,7 +306,7 @@ AS_IF([test "x$enable_shared" = xyes], [ GLDSONAME="libfltk_gl.so.$FL_DSO_VERSION" IMGDSONAME="libfltk_images.so.$FL_DSO_VERSION" CAIRODSONAME="libfltk_cairo.so.$FL_DSO_VERSION" - DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -h \$@ \$(LDLIBS) -G $DEBUGFLAG -o" + DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -Wl,-soname,\$@ \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o" AS_IF([test "x$libdir" != "x/usr/lib"], [ DSOLINK="-R$libdir" ]) -- cgit v1.2.3