forked from Mirrors/flatpak-builder
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>tingping/wmclass
parent
ccaa7428ae
commit
3fc47aa0d3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue