From 7774cdf71ffec3d13980bcc2ec4f00ff912cdede Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 30 Apr 2018 18:46:34 +0100 Subject: [PATCH] Correct C shared library creation when specifing CC to configure --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 0161e2778..bdfdcbb7a 100644 --- a/configure.ac +++ b/configure.ac @@ -186,19 +186,19 @@ then if test "$with_next_framework" ; then LDSHARED="$LDSHARED \$(LDLIBRARY)" fi ;; - *-*-linux*) LDSHARED="gcc -shared";; + *-*-linux*) LDSHARED="$CC -shared";; *-*-dgux*) LDSHARED="ld -G";; - *-*-freebsd3*) LDSHARED="gcc -shared";; + *-*-freebsd3*) LDSHARED="$CC -shared";; *-*-freebsd* | *-*-openbsd*) LDSHARED="ld -Bshareable";; *-*-netbsd*) if [[ "`$CC -dM -E -