All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libmount/buildsys: move SELINUX_LIBS to LDFLAGS
@ 2014-08-02 20:11 Andreas Henriksson
  2014-08-03 13:34 ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Henriksson @ 2014-08-02 20:11 UTC (permalink / raw)
  To: util-linux; +Cc: Andreas Henriksson

According to a bug report filed in the Debian bug tracking system
an unknown version of the package failed to cross-build because of
the -lfoo flags for SELinux being placed in LIBADD rather then LDFLAGS.
The build system still looks similar in this regard so it's possible
the problem still remains and hopefully this change should make things
more correct even if I still don't know if it solves the entire problem.

Reported-by: YunQiang Su <wzssyqa@gmail.com>
Addresses-Debian-Bug: #721431
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
---
 libmount/src/Makemodule.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libmount/src/Makemodule.am b/libmount/src/Makemodule.am
index 54ab51d..afe5cfa 100644
--- a/libmount/src/Makemodule.am
+++ b/libmount/src/Makemodule.am
@@ -30,7 +30,7 @@ libmount_la_SOURCES = \
 
 nodist_libmount_la_SOURCES = libmount/src/mountP.h
 
-libmount_la_LIBADD = libcommon.la libblkid.la $(SELINUX_LIBS)
+libmount_la_LIBADD = libcommon.la libblkid.la
 
 libmount_la_CFLAGS = \
 	$(SOLIB_CFLAGS) \
@@ -46,6 +46,7 @@ libmount_la_DEPENDENCIES = \
 
 libmount_la_LDFLAGS = \
 	$(SOLIB_LDFLAGS) \
+	$(SELINUX_LIBS) \
 	-Wl,--version-script=$(top_srcdir)/libmount/src/libmount.sym \
 	-version-info $(LIBMOUNT_VERSION_INFO)
 
-- 
2.0.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-04  9:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-02 20:11 [PATCH] libmount/buildsys: move SELINUX_LIBS to LDFLAGS Andreas Henriksson
2014-08-03 13:34 ` Mike Frysinger
2014-08-03 20:23   ` Andreas Henriksson
2014-08-04  7:40     ` Mike Frysinger
2014-08-04  9:49       ` Andreas Henriksson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.