mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
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:
commit
0e957572b7
@ -17,3 +17,7 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --disable-doxygen"
|
|||||||
pre_configure_target() {
|
pre_configure_target() {
|
||||||
CXXFLAGS+=" -Wno-error=unused-parameter"
|
CXXFLAGS+=" -Wno-error=unused-parameter"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_configure_target() {
|
||||||
|
libtool_remove_rpath libtool
|
||||||
|
}
|
||||||
|
@ -37,6 +37,10 @@ fi
|
|||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="${EXTRAOPTS} --without-portaudio"
|
PKG_CONFIGURE_OPTS_TARGET="${EXTRAOPTS} --without-portaudio"
|
||||||
|
|
||||||
|
post_configure_target() {
|
||||||
|
libtool_remove_rpath libtool
|
||||||
|
}
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
: # nothing to do here
|
: # nothing to do here
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,10 @@ pre_configure_target() {
|
|||||||
rm -rf .${TARGET_NAME}
|
rm -rf .${TARGET_NAME}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_configure_target() {
|
||||||
|
libtool_remove_rpath libtool
|
||||||
|
}
|
||||||
|
|
||||||
addon() {
|
addon() {
|
||||||
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||||
cp ${PKG_INSTALL}/usr/sbin/proftpd ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
cp ${PKG_INSTALL}/usr/sbin/proftpd ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||||
|
@ -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 \
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||||
ac_cv_func_realloc_0_nonnull=yes"
|
ac_cv_func_realloc_0_nonnull=yes"
|
||||||
|
|
||||||
|
post_configure_target() {
|
||||||
|
libtool_remove_rpath libtool
|
||||||
|
}
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
:
|
:
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,10 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-alsaconf \
|
|||||||
--disable-rst2man \
|
--disable-rst2man \
|
||||||
--disable-xmlto"
|
--disable-xmlto"
|
||||||
|
|
||||||
|
post_configure_target() {
|
||||||
|
libtool_remove_rpath libtool
|
||||||
|
}
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
rm -rf ${INSTALL}/lib ${INSTALL}/var
|
rm -rf ${INSTALL}/lib ${INSTALL}/var
|
||||||
rm -rf ${INSTALL}/usr/share/alsa/speaker-test
|
rm -rf ${INSTALL}/usr/share/alsa/speaker-test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user