Mercurial > audlegacy
changeset 1624:d863bca9b6d7 trunk
[svn] - PICFLAGS should not call -shared/-bundle as some versions of GCC will misinterpret that. Only PICLDFLAGS should.
author | nenolod |
---|---|
date | Wed, 06 Sep 2006 13:04:37 -0700 |
parents | e2eb234cb999 |
children | 79891e2fd8a5 |
files | ChangeLog configure.ac |
diffstat | 2 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Sep 06 13:01:04 2006 -0700 +++ b/ChangeLog Wed Sep 06 13:04:37 2006 -0700 @@ -1,3 +1,12 @@ +2006-09-06 20:01:04 +0000 William Pitcock <nenolod@nenolod.net> + revision [2177] + - add PICLDFLAGS, PICFLAGS, SHARED_SUFFIX identifiers + + + Changes: Modified: + +3 -0 trunk/mk/rules.mk.in + + 2006-09-06 19:57:50 +0000 William Pitcock <nenolod@nenolod.net> revision [2175] - detect what $(SHARED_SUFFIX) should be.
--- a/configure.ac Wed Sep 06 13:01:04 2006 -0700 +++ b/configure.ac Wed Sep 06 13:04:37 2006 -0700 @@ -195,13 +195,13 @@ case "$target" in *-apple-*) AC_MSG_RESULT([Mac OS X: -fPIC -bundle, .dylib]) - PICFLAGS="-fPIC -bundle" - PICLDFLAGS="-fPIC -bundle" + PICFLAGS="-fPIC -DPIC" + PICLDFLAGS="-fPIC -DPIC -bundle" SHARED_SUFFIX=".dylib" ;; *) AC_MSG_RESULT([libdl-compatible: -fPIC -DPIC -shared, .so]) - PICFLAGS="-fPIC -DPIC -shared" + PICFLAGS="-fPIC -DPIC" PICLDFLAGS="-fPIC -DPIC -shared" SHARED_SUFFIX=".so" ;;