All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add implicit lib requirements to LDLIBS
@ 2010-03-30 21:08 Joshua Brindle
  2010-03-30 23:34 ` Eamon Walsh
  0 siblings, 1 reply; 7+ messages in thread
From: Joshua Brindle @ 2010-03-30 21:08 UTC (permalink / raw)
  To: SELinux List; +Cc: Joshua Brindle

Fedora 13 changed their linker behavior to not link indirect libraries.
See information at: http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

Resent, it doesn't look like it made it to the list the first time (and the subject had a typo)

Signed-off-by: Joshua Brindle <jbrindle@tresys.com>
---
 policycoreutils/semodule/Makefile  |    2 +-
 policycoreutils/setsebool/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/policycoreutils/semodule/Makefile b/policycoreutils/semodule/Makefile
index c96a286..a0bbc21 100644
--- a/policycoreutils/semodule/Makefile
+++ b/policycoreutils/semodule/Makefile
@@ -7,7 +7,7 @@ LIBDIR ?= ${PREFIX}/lib
 
 CFLAGS ?= -Werror -Wall -W
 override CFLAGS += -I$(INCLUDEDIR)
-LDLIBS = -lsepol -lselinux -lsemanage -L$(LIBDIR)
+LDLIBS = -lsepol -lselinux -lsemanage -lbz2 -lustr -L$(LIBDIR) 
 SEMODULE_OBJS = semodule.o
 
 all: semodule
diff --git a/policycoreutils/setsebool/Makefile b/policycoreutils/setsebool/Makefile
index 556b780..1b89d5c 100644
--- a/policycoreutils/setsebool/Makefile
+++ b/policycoreutils/setsebool/Makefile
@@ -7,7 +7,7 @@ LIBDIR ?= ${PREFIX}/lib
 
 CFLAGS ?= -Werror -Wall -W
 override CFLAGS += -I$(INCLUDEDIR)
-LDLIBS = -lsepol -lselinux -lsemanage -L$(LIBDIR)
+LDLIBS = -lsepol -lselinux -lsemanage -lbz2 -lustr -L$(LIBDIR)
 SETSEBOOL_OBJS = setsebool.o
 
 all: setsebool
-- 
1.7.0.1


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2010-03-31 15:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-30 21:08 [PATCH] Add implicit lib requirements to LDLIBS Joshua Brindle
2010-03-30 23:34 ` Eamon Walsh
2010-03-31 13:21   ` Joshua Brindle
2010-03-31 15:15     ` Stephen Smalley
2010-03-31 15:17       ` Stephen Smalley
2010-03-31 15:33         ` Joshua Brindle
2010-03-31 15:34     ` Eamon Walsh

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.