kumquat-buildroot/package/gauche/0001-fix-so-suffix.patch

32 lines
1.0 KiB
Diff
Raw Normal View History

With uclibc or musl configuration, $host does not match to '*-linux-gnu*'.
I touch configure directly instead of configure.ac because autoreconf
failed by version mismatch of autotools.
Signed-off-by: Hiroshi Kawashima <kei-k@ca2.so-net.ne.jp>
diff -ur a/configure b/configure
--- a/configure 2014-07-20 15:15:05.000000000 +0900
+++ b/configure 2015-10-20 21:52:32.791442291 +0900
@@ -6843,7 +6843,7 @@
SHLIB_MAIN_LDFLAGS=""
SHLIB_OK=ok
;;
- *-linux-gnu*|*-*-gnu*|*freebsd*|*dragonfly*)
+ *-linux-*|*-*-gnu*|*freebsd*|*dragonfly*)
SHLIB_SO_CFLAGS="-fPIC"
SHLIB_SO_LDFLAGS="$rpath -shared -o"
SHLIB_SO_SUFFIX="so"
diff -ur a/configure.ac b/configure.ac
--- a/configure.ac 2015-10-21 21:33:17.370000200 +0900
+++ b/configure.ac 2015-10-21 21:33:39.784110527 +0900
@@ -572,7 +572,7 @@
SHLIB_MAIN_LDFLAGS=""
SHLIB_OK=ok
;;
- *-linux-gnu*|*-*-gnu*|*freebsd*|*dragonfly*)
+ *-linux-*|*-*-gnu*|*freebsd*|*dragonfly*)
SHLIB_SO_CFLAGS="-fPIC"
SHLIB_SO_LDFLAGS="$rpath -shared -o"
SHLIB_SO_SUFFIX="so"