Browse Source

readline: added some guards for building.

tc-work-wip
Nagy Károly Gábriel 8 years ago
committed by Nagy Károly Gábriel
parent
commit
ac8e617517
Signed by: karasz GPG Key ID: C6BA1070A8CBDA0C
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