summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-06-19 02:05:03 -0700
committerMartin Stransky <stransky@redhat.com>2019-06-19 02:05:03 -0700
commit0ecdc7b81912035c93156f6a510ce7b469de2eaa (patch)
tree9a37c5ed70c3439046536ecef51cd8d83d16185f /firefox.spec
parentremoved bcond for debug build as it causes failures on koji (diff)
parentMerge #12 `Try to fix linking with libraries in /app/lib64` (diff)
downloadlibrewolf-fedora-ff-0ecdc7b81912035c93156f6a510ce7b469de2eaa.tar.gz
librewolf-fedora-ff-0ecdc7b81912035c93156f6a510ce7b469de2eaa.tar.bz2
librewolf-fedora-ff-0ecdc7b81912035c93156f6a510ce7b469de2eaa.zip
Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/firefox
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index 72f888e..27eaece 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -537,6 +537,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