Skip to content

Commit

Permalink
MISC: Makefile.mk: appimage: exclude libnss*3.so
Browse files Browse the repository at this point in the history
There seem to exist some incompatibilities with an appimage-packed libnss3.so
loading it's corresponding libsoftokn3.so from the host system libraries.
As a workaround, we avoid packaging libnss3.so alltogether which is present
on at least Ubuntu 20.04, 22.04, Debian 11 and Arch in 2022.

For a detailed discussion, see:
probonopd/linuxdeployqt#35 (comment)

Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Jun 24, 2022
1 parent 6a06b72 commit 1d12b60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misc/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ $>/anklang-$(version_short)-x64.AppImage: $>/misc/appaux/appimage-runtime-zstd $
-d $(APPIMAGEPKGDIR)/share/applications/anklang.desktop \
-l $$LIB64/libXss.so.1 \
-l $$LIB64/libXtst.so.6 \
--exclude-library="libnss3.so" \
--exclude-library="libnssutil3.so" \
--custom-apprun=misc/AppRun
@: # 'linuxdeploy -e bin/anklang' creates an executable copy in usr/bin/, which electron does not support
$Q rm $(APPBASE)/usr/bin/anklang && ln -s -r $(APPIMAGEPKGDIR)/bin/anklang $(APPBASE)/usr/bin/ # enforce bin/* as link
Expand Down

0 comments on commit 1d12b60

Please sign in to comment.