mirror of https://github.com/WerWolv/ImHex.git
build: Exclude libstdc++, libc++ and ld-linux from AppImage. Search libimhex and builtin plugins for dependencies
This commit is contained in:
parent
df26127f88
commit
318e42be26
|
@ -39,7 +39,9 @@ mv ${BUILDDIR}/ImHex.AppDir/AppRun-x86_64 ${APPDIR}/AppRun
|
||||||
chmod a+x ${BUILDDIR}/ImHex.AppDir/AppRun
|
chmod a+x ${BUILDDIR}/ImHex.AppDir/AppRun
|
||||||
|
|
||||||
## Add all dependencies
|
## Add all dependencies
|
||||||
ldd ${BUILDDIR}/imhex | awk '/ => /{print $3}' | awk '!/(libc|libdl|libpthread|libselinux)/' | xargs -I '{}' cp '{}' ${APPDIR}/usr/lib
|
ldd ${BUILDDIR}/imhex | awk '/ => /{print $3}' | awk '!/(libc|libstdc++|libc++|libdl|libpthread|libselinux|ld-linux)/' | xargs -I '{}' cp '{}' ${APPDIR}/usr/lib
|
||||||
|
ldd ${BUILDDIR}/plugins/builtin/builtin.hexplug | awk '/ => /{print $3}' | awk '!/(libc|libstdc++|libc++|libdl|libpthread|libselinux|ld-linux)/' | xargs -I '{}' cp '{}' ${APPDIR}/usr/lib
|
||||||
|
ldd ${BUILDDIR}/plugins/libimhex/libimhex.so | awk '/ => /{print $3}' | awk '!/(libc|libstdc++|libc++|libdl|libpthread|libselinux|ld-linux)/' | xargs -I '{}' cp '{}' ${APPDIR}/usr/lib
|
||||||
|
|
||||||
# Package it up as described here:
|
# Package it up as described here:
|
||||||
# https://github.com/AppImage/AppImageKit#appimagetool-usage
|
# https://github.com/AppImage/AppImageKit#appimagetool-usage
|
||||||
|
|
Loading…
Reference in New Issue