summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <xhorak@fedoraproject.org>2019-06-19 08:18:26 +0000
committerJan Horak <xhorak@fedoraproject.org>2019-06-19 08:18:26 +0000
commit2c3bb2bfc6d9a97c20f0524bf1d85b78b971fa95 (patch)
treef07bef91661e008818af8e56445ac12ce9a2f768
parentDisable debug builds by default (diff)
parentTry to fix linking with libraries in /app/lib64 (diff)
downloadlibrewolf-fedora-ff-2c3bb2bfc6d9a97c20f0524bf1d85b78b971fa95.tar.gz
librewolf-fedora-ff-2c3bb2bfc6d9a97c20f0524bf1d85b78b971fa95.tar.bz2
librewolf-fedora-ff-2c3bb2bfc6d9a97c20f0524bf1d85b78b971fa95.zip
Merge #12 `Try to fix linking with libraries in /app/lib64`
-rw-r--r--firefox.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index 9864d27..faeb16f 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -542,6 +542,11 @@ MOZ_LINK_FLAGS="-Wl,--no-keep-memory"
echo "ac_add_options --enable-linker=gold" >> .mozconfig
%endif
%endif
+%if 0%{?flatpak}
+# Make sure the linker can find libraries in /app/lib64 as we don't use
+# __global_ldflags that normally sets this.
+MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}"
+%endif
%ifarch %{arm} %{ix86}
export RUSTFLAGS="-Cdebuginfo=0"
%endif
bgstack15