package/nodejs: security bump for 0.10.x to version 0.10.42
[buildroot-gz.git] / package / gauche / 0001-fix-so-suffix.patch
blobb65e26998110b755ba254a2f1757e3aec5e33cbf
1 With uclibc or musl configuration, $host does not match to '*-linux-gnu*'.
2 I touch configure directly instead of configure.ac because autoreconf
3 failed by version mismatch of autotools.
5 Signed-off-by: Hiroshi Kawashima <kei-k@ca2.so-net.ne.jp>
7 diff -ur a/configure b/configure
8 --- a/configure 2014-07-20 15:15:05.000000000 +0900
9 +++ b/configure 2015-10-20 21:52:32.791442291 +0900
10 @@ -6843,7 +6843,7 @@
11 SHLIB_MAIN_LDFLAGS=""
12 SHLIB_OK=ok
14 - *-linux-gnu*|*-*-gnu*|*freebsd*|*dragonfly*)
15 + *-linux-*|*-*-gnu*|*freebsd*|*dragonfly*)
16 SHLIB_SO_CFLAGS="-fPIC"
17 SHLIB_SO_LDFLAGS="$rpath -shared -o"
18 SHLIB_SO_SUFFIX="so"
20 diff -ur a/configure.ac b/configure.ac
21 --- a/configure.ac 2015-10-21 21:33:17.370000200 +0900
22 +++ b/configure.ac 2015-10-21 21:33:39.784110527 +0900
23 @@ -572,7 +572,7 @@
24 SHLIB_MAIN_LDFLAGS=""
25 SHLIB_OK=ok
27 - *-linux-gnu*|*-*-gnu*|*freebsd*|*dragonfly*)
28 + *-linux-*|*-*-gnu*|*freebsd*|*dragonfly*)
29 SHLIB_SO_CFLAGS="-fPIC"
30 SHLIB_SO_LDFLAGS="$rpath -shared -o"
31 SHLIB_SO_SUFFIX="so"