Browse Source

readline: added some guards for building.

user/amery/next-tc-karasz
Nagy Károly Gábriel 8 years ago
committed by Alejandro Mery
parent
commit
c4172aa7cd
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      base/readline/readline.conf

+ 7
- 0
base/readline/readline.conf

@ -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"

Loading…
Cancel
Save