]> git.pld-linux.org Git - packages/libunwind.git/blob - libunwind-rpath.patch
- updated to 1.0.1 (note: new sonames)
[packages/libunwind.git] / libunwind-rpath.patch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 090828-rpath.dpatch by Daigo Moriwaki <daigo@debian.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: rpath should not be used
6 ## DP: http://wiki.debian.org/RpathIssue
7
8 @DPATCH@
9 diff -urNad libunwind-0.99~/configure.in libunwind-0.99/configure.in
10 --- libunwind-0.99~/configure.in        2009-05-09 01:34:10.000000000 +0900
11 +++ libunwind-0.99/configure.in 2009-08-29 10:41:18.000000000 +0900
12 @@ -17,10 +17,20 @@
13  AC_PROG_CXX
14  AC_PROG_INSTALL
15  AC_PROG_MAKE_SET
16 -AM_PROG_LIBTOOL
17 +AC_PROG_LIBTOOL
18  AM_PROG_AS
19  AM_PROG_CC_C_O
20  
21 +case ${host} in
22 +  *-pc-linux-gnu)
23 +    AC_MSG_RESULT([Fixing libtool for -rpath problems.])
24 +    sed < libtool > libtool-2 \
25 +    's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/'
26 +    mv libtool-2 libtool
27 +    chmod 755 libtool
28 +  ;;
29 +esac
30 +
31  dnl Checks for libraries.
32  AC_CHECK_LIB(uca, __uc_get_grs)
33  CHECK_ATOMIC_OPS
This page took 0.045346 seconds and 3 git commands to generate.