mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-01 10:01:03 -04:00
Link libselinux into bwrap (if enabled) with LDADD, not LDFLAGS
As explained in bubblewrap commit f6ca3690, libraries should always go in LDADD and not LDFLAGS, because the order of arguments to the linker matters. Many distributions' linkers are tolerant enough that it doesn't matter in practice, but it matters for static linking, and it might also matter on Ubuntu. Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
1 parent
ccaa7428ae
commit
3fc47aa0d3
1 file changed
+1
-1
+1
-1
@@ -82,7 +82,7 @@ include tests/Makefile.am.inc
|
||||
bwrap_PROGRAMS = flatpak-bwrap
|
||||
flatpak_bwrap_SOURCES = $(bwrap_SOURCES)
|
||||
flatpak_bwrap_CFLAGS = $(bwrap_CFLAGS)
|
||||
flatpak_bwrap_LDFLAGS = $(bwrap_LDFLAGS)
|
||||
flatpak_bwrap_LDADD = $(bwrap_LDADD)
|
||||
bwrapdir = $(libexecdir)
|
||||
include bubblewrap/Makefile-bwrap.am.inc
|
||||
|
||||
|
||||
Reference in new issue
Block a user