mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-30 10:31:21 -05: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:
@@ -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