Blame view

buildroot/buildroot-2016.08.1/package/gauche/0001-fix-so-suffix.patch 1.03 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  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"