public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/flatpak-runtime-config] f45: Add /app/lib to ld.so.conf
@ 2026-09-10 21:21 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-10 21:21 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/flatpak-runtime-config
            Branch : f45
            Commit : cb21196de261fea2813b28fc337c23160e77bf74
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2025-03-24T22:21:59-04:00
            Stats  : +4/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/cb21196de261fea2813b28fc337c23160e77bf74?branch=f45

            Log:
            Add /app/lib to ld.so.conf

When using the SDK as a replacment for FD.o/GNOME/KDE upstream's to build
with flatpak-builder, libraries will be built into /app/lib rather than in
/app/lib64 as in Fedora builds.

---
diff --git a/defaults.json.in b/defaults.json.in
index b6fb0a8..709d182 100644
--- a/defaults.json.in
+++ b/defaults.json.in
@@ -3,5 +3,5 @@
   "cflags": "%{build_cflags}",
   "cxxflags": "%{build_cxxflags}",
   "cppflags": "",
-  "ldflags": "-L/app/%{_lib} %{build_ldflags}"
+  "ldflags": "-L/app/lib %{build_ldflags}"
 }

diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
index 3327405..f13ef23 100644
--- a/flatpak-runtime-config.spec
+++ b/flatpak-runtime-config.spec
@@ -72,6 +72,9 @@ include /run/flatpak/ld.so.conf.d/app-*.conf
 include /app/etc/ld.so.conf
 include /app/etc/ld.so.conf.d/*.conf
 /app/%{_lib}
+%if "%{_lib}" != "lib"
+/app/lib
+%endif
 include /run/flatpak/ld.so.conf.d/runtime-*.conf
 _EOF
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-10 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 21:21 [rpms/flatpak-runtime-config] f45: Add /app/lib to ld.so.conf Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox