Merge pull request #8388 from heitbaum/rpath

Remove libtool preserved temporary RPATH/RUNPATH from "shared object" ELF binaries (libraries/executables)
This commit is contained in:
Christian Hewitt 2023-12-14 13:44:40 +04:00 committed by GitHub
commit 0e957572b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 0 deletions

View File

@ -17,3 +17,7 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --disable-doxygen"
pre_configure_target() {
CXXFLAGS+=" -Wno-error=unused-parameter"
}
post_configure_target() {
libtool_remove_rpath libtool
}

View File

@ -37,6 +37,10 @@ fi
PKG_CONFIGURE_OPTS_TARGET="${EXTRAOPTS} --without-portaudio"
post_configure_target() {
libtool_remove_rpath libtool
}
makeinstall_target() {
: # nothing to do here
}

View File

@ -44,6 +44,10 @@ pre_configure_target() {
rm -rf .${TARGET_NAME}
}
post_configure_target() {
libtool_remove_rpath libtool
}
addon() {
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
cp ${PKG_INSTALL}/usr/sbin/proftpd ${ADDON_BUILD}/${PKG_ADDON_ID}/bin

View File

@ -23,6 +23,10 @@ PKG_DISCLAIMER="Additional data charges may occur. The LibreELEC team doesn't ta
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes"
post_configure_target() {
libtool_remove_rpath libtool
}
makeinstall_target() {
:
}

View File

@ -21,6 +21,10 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-alsaconf \
--disable-rst2man \
--disable-xmlto"
post_configure_target() {
libtool_remove_rpath libtool
}
post_makeinstall_target() {
rm -rf ${INSTALL}/lib ${INSTALL}/var
rm -rf ${INSTALL}/usr/share/alsa/speaker-test