Debian Codegraph @

debian/patches/02_linking.patch

raw
1 Description: Fix Linking
2 Binaries should not set RPATH for /usr/lib.
3 Original Gauche would add $(LIB_INSTALL_DIR), which would be needed
4 if it were /usr/local/lib. It will /usr/lib for Debian packaging,
5 which is not needed at all.
6 This fixes lintian errors of 'binary-or-shlib-defines-rpath'.
7 See the following: http://wiki.debian.org/RpathIssue
8 Forwarded: Not-Yet
9 Author: YAEGASHI Takeshi <[email protected]>
10 Bug-Debian: http://bugs.debian.org/358139
11 Last-Update: 2040-12-06
12
13 Index: gauche/configure.ac
14 ===================================================================
15 --- gauche.orig/configure.ac
16 +++ gauche/configure.ac
17 @@ -867,7 +867,7 @@ if test "$try_rpath" = "yes"; then
18 fi
19 if test "$RPATH_FLAG" != ""; then
20 RPATH_TMP=$RPATH_FLAG'"`pwd`"'
21 - RPATH_REAL=$RPATH_FLAG'"$(ARCH_INSTALL_DIR)"'
22 + RPATH_REAL=''
23 fi
24 fi
25 AC_SUBST(RPATH_FLAG)