[augeas-devel] augeas: master - Makefiles: gnulib now requires linking against libselinux
David Lutterkort
lutter at fedoraproject.org
Thu Oct 22 13:34:59 UTC 2009
Gitweb: http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=98ff237cb8344b70d9b76a4a762fb78eb1c7ad53
Commit: 98ff237cb8344b70d9b76a4a762fb78eb1c7ad53
Parent: 68d07dbb3b9354bbad12a047e269e162d8e1f554
Author: David Lutterkort <lutter at redhat.com>
AuthorDate: Thu Oct 22 15:33:02 2009 +0200
Committer: David Lutterkort <lutter at redhat.com>
CommitterDate: Thu Oct 22 15:33:02 2009 +0200
Makefiles: gnulib now requires linking against libselinux
* src/Makefile.am (libfa_la_LIBADD): add LIB_SELINUX
* examples/Makefile.am (fadot_LDADD): remove GNULIB
---
examples/Makefile.am | 2 +-
src/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 5f84d30..417f91c 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -8,4 +8,4 @@ AM_CFLAGS = @AUGEAS_CFLAGS@ @WARN_CFLAGS@ $(GNULIB_CFLAGS) \
bin_PROGRAMS = fadot
fadot_SOURCES = fadot.c
-fadot_LDADD = $(top_builddir)/src/libfa.la $(GNULIB)
+fadot_LDADD = $(top_builddir)/src/libfa.la
diff --git a/src/Makefile.am b/src/Makefile.am
index ab5e661..8b8a524 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,7 +44,7 @@ augparse_SOURCES = augparse.c
augparse_LDADD = libaugeas.la $(GNULIB)
libfa_la_SOURCES = fa.c fa.h hash.c hash.h memory.c memory.h ref.h ref.c
-libfa_la_LIBADD = $(GNULIB)
+libfa_la_LIBADD = $(LIB_SELINUX) $(GNULIB)
libfa_la_LDFLAGS = $(FA_VERSION_SCRIPT) -version-info $(LIBFA_VERSION_INFO)
liblexer_la_SOURCES = lexer.l
More information about the augeas-devel
mailing list