|
|
@ -23,6 +23,13 @@ pkg_readline_preconf() { |
|
|
|
echo "Applying patch ${x##*/} ..." |
|
|
|
patch -p0 < "$x" |
|
|
|
done |
|
|
|
# remove RPATH from shared objects (FS#14366) |
|
|
|
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf |
|
|
|
|
|
|
|
# avoid issues with moving libs while installing |
|
|
|
sed -i '/MV.*old/d' Makefile.in |
|
|
|
sed -i '/{OLDSUFF}/c:' support/shlib-install |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
hook_add preconf 5 "pkg_readline_preconf" |
|
|
|