mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-26 18:10:23 +00:00
remove unnecessary safe_remove
these files/folders are excluded in script/install
This commit is contained in:
parent
7a4c97274f
commit
46e407db1e
@ -39,9 +39,4 @@ fi
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}/usr/bin
|
||||
if [ "${DISTRO}" = "Lakka" ]; then
|
||||
safe_remove ${INSTALL}/usr/include
|
||||
safe_remove ${INSTALL}/usr/lib/pkgconfig
|
||||
safe_remove ${INSTALL}/usr/share
|
||||
fi
|
||||
}
|
||||
|
@ -17,11 +17,3 @@ PKG_CMAKE_OPTS_TARGET="-DINSTALL_DOCS=OFF"
|
||||
if [ "${DISTRO}" = "Lakka" ]; then
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_SHARED_LIBS=ON"
|
||||
fi
|
||||
|
||||
post_makeinstall_target() {
|
||||
if [ "${DISTRO}" = "Lakka" ]; then
|
||||
safe_remove ${INSTALL}/usr/include
|
||||
safe_remove ${INSTALL}/usr/lib/cmake
|
||||
safe_remove ${INSTALL}/usr/lib/pkgconfig
|
||||
fi
|
||||
}
|
||||
|
@ -29,12 +29,3 @@ PKG_CMAKE_OPTS_TARGET="-DBUILD_PROGRAMS=OFF \
|
||||
if [ "${DISTRO}" = "Lakka" ]; then
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DBUILD_SHARED_LIBS=ON"
|
||||
fi
|
||||
|
||||
post_makeinstall_target() {
|
||||
if [ "${DISTRO}" = "Lakka" ]; then
|
||||
safe_remove ${INSTALL}/usr/include
|
||||
safe_remove ${INSTALL}/usr/lib/cmake
|
||||
safe_remove ${INSTALL}/usr/share
|
||||
safe_remove ${INSTALL}/usr/lib/pkgconfig
|
||||
fi
|
||||
}
|
||||
|
@ -23,13 +23,3 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
if [ "${DISTRO}" = "Lakka" ]; then
|
||||
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET//--disable-shared/--enable-shared}"
|
||||
fi
|
||||
|
||||
post_makeinstall_target() {
|
||||
if [ "${DISTRO}" = "Lakka" ]; then
|
||||
safe_remove ${INSTALL}/usr/include
|
||||
safe_remove ${INSTALL}/usr/lib/pkgconfig
|
||||
safe_remove ${INSTALL}/usr/lib/*.a
|
||||
safe_remove ${INSTALL}/usr/lib/*.la
|
||||
safe_remove ${INSTALL}/usr/share
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user