From: John Ellson Date: Thu, 5 Sep 2013 14:38:04 +0000 (-0400) Subject: add '-Wl,-headerpad_max_install_names' to LDFLAGS, darwin only, resolves #2325 X-Git-Tag: LAST_LIBGRAPH~32^2~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14016ea65497f24b3c89f366ed6519152837d191;p=graphviz add '-Wl,-headerpad_max_install_names' to LDFLAGS, darwin only, resolves #2325 --- diff --git a/configure.ac b/configure.ac index 2edef24bf..962fbaf2a 100644 --- a/configure.ac +++ b/configure.ac @@ -314,6 +314,7 @@ if test "${GCC}" != "yes" ; then ;; *-apple-darwin* ) CFLAGS="${CFLAGS} -fno-common" + LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names" ;; *-sgi-irix* ) ;; @@ -341,6 +342,7 @@ else ;; *-apple-darwin* ) CFLAGS="${CFLAGS} -fno-common -Wall" + LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names" ;; *-freebsd* ) CFLAGS="${CFLAGS} -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math"