Menu

#1 Interix's support is broken

PNG
open
raylu
Generation (1)
5
2006-12-08
2006-12-08
No

libpng .so shared libraries generated under Interix platform are broken because 'ld --version-script' is not supported under Interix but this option is output by 'ld --help'.

Some details about this bug was discussed here.
http://www.interopsystems.com/tools/tm.aspx?m=10385&mpage=1&key=--version-script&#10733

Either make --version-script test more robust of apply the following patch.

--- configure.ac.orig 2006-12-08 20:40:26.000000000 +0200
+++ configure.ac 2006-12-08 20:41:47.000000000 +0200
@@ -74,7 +74,7 @@

AC_MSG_CHECKING([if libraries can be versioned])
GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
-if test "$GLD"; then
+if test "$GLD" && test "`uname -s 2>/dev/null`" != Interix; then
have_ld_version_script=yes
AC_MSG_RESULT(yes)
else

Discussion


Log in to post a comment.