GNOME Bugzilla – Bug 685626
configure should be more careful with linker script
Last modified: 2012-11-21 06:08:06 UTC
Created attachment 225958 [details] [review] patch configure script tries to guess how to pass "version script" to linker: VERSION_SCRIPT_FLAGS= $(/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null) && \ VERSION_SCRIPT_FLAGS=-Wl,--version-script= test "`uname`" == "SunOS" && \ VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," AC_SUBST(VERSION_SCRIPT_FLAGS) AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"]) And now it sets "-Wl,-M -Wl," on illumos/solaris *even* if GNU ld is in use.
Okay, makes sense, slightly different from how libxml2 does but looks correct, applied and pushed: http://git.gnome.org/browse/libxslt/commit/?id=2fbfdd5dbb08724e29e3331b846a30785542c7d1 thanks ! Daniel