summaryrefslogtreecommitdiffstats
path: root/recipes-security/clamav/clamav-0.99.1/rpath_rmove.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/clamav/clamav-0.99.1/rpath_rmove.patch')
-rw-r--r--recipes-security/clamav/clamav-0.99.1/rpath_rmove.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes-security/clamav/clamav-0.99.1/rpath_rmove.patch b/recipes-security/clamav/clamav-0.99.1/rpath_rmove.patch
new file mode 100644
index 0000000..a903c7e
--- /dev/null
+++ b/recipes-security/clamav/clamav-0.99.1/rpath_rmove.patch
@@ -0,0 +1,44 @@
1Index: clamav-0.99/configure
2===================================================================
3--- clamav-0.99.orig/configure
4+++ clamav-0.99/configure
5@@ -9266,7 +9266,7 @@ $as_echo_n "checking whether the $compil
6 # are reset later if shared libraries are not supported. Putting them
7 # here allows them to be overridden if necessary.
8 runpath_var=LD_RUN_PATH
9- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10+ hardcode_libdir_flag_spec='${wl}-rpath $libdir'
11 export_dynamic_flag_spec='${wl}--export-dynamic'
12 # ancient GNU ld didn't support --whole-archive et. al.
13 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14@@ -9502,7 +9502,7 @@ _LT_EOF
15 # DT_RUNPATH tag from executables and libraries. But doing so
16 # requires that you compile everything twice, which is a pain.
17 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
19+ hardcode_libdir_flag_spec='${wl}-rpath $libdir'
20 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22 else
23@@ -10074,7 +10074,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >
24 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
25 fi
26 archive_cmds_need_lc='no'
27- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
28+ hardcode_libdir_flag_spec='${wl}-rpath $libdir'
29 hardcode_libdir_separator=:
30 inherit_rpath=yes
31 link_all_deplibs=yes
32Index: clamav-0.99/config/config.rpath
33===================================================================
34--- clamav-0.99.orig/config/config.rpath
35+++ clamav-0.99/config/config.rpath
36@@ -156,7 +156,7 @@ if test "$with_gnu_ld" = yes; then
37 # here allows them to be overridden if necessary.
38 # Unlike libtool, we use -rpath here, not --rpath, since the documented
39 # option of GNU ld is called -rpath, not --rpath.
40- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
41+ hardcode_libdir_flag_spec=
42 case "$host_os" in
43 aix3* | aix4* | aix5*)
44 # On AIX/PPC, the GNU linker is very broken