summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2020-03-14 15:07:37 +0000
committerChris Liddell <chris.liddell@artifex.com>2020-03-16 14:01:17 +0000
commiteec073529fb8dc0c3bb6d612b61bf483d135c9cf (patch)
treef77f28d68109f0717921c27734d34ce999f7ffea
parenta9cd9959372b9f14b493b87df57664ea831c5d80 (diff)
downloadghostpdl-eec073529fb8dc0c3bb6d612b61bf483d135c9cf.tar.gz
Bug 702217: Reinstate dynamic libs LDFLAGS for MacOS
With the significant revamp of the platform detection functions in configure the LDFLAGS for building the gs shared library on MacOS went astray. This puts them back in.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 21bcdade0..698abd304 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,7 +126,6 @@ CFLAGSAUX_PROFILETMP="\$(CFLAGS_PROFILE)"
LDFLAGSAUXTMP="\$(LDFLAGS)"
AUXEXTRALIBSTMP="\$(EXTRALIBS)"
-
# purposefully do not include "help" output for this
AC_ARG_ENABLE([save_confaux])
AC_ARG_ENABLE([auxtools_only])
@@ -2778,6 +2777,7 @@ case $host in
;;
*-darwin*)
DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
+ GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(GS_SONAME_MAJOR_MINOR)"
PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(PCL_SONAME_MAJOR_MINOR)"
XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(XPS_SONAME_MAJOR_MINOR)"
PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(GPDL_SONAME_MAJOR_MINOR)"