diff options
-rw-r--r-- | sys-libs/pwdb/files/pwdb-0.62-selinux.patch | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sys-libs/pwdb/files/pwdb-0.62-selinux.patch b/sys-libs/pwdb/files/pwdb-0.62-selinux.patch index c31579cc8d98..106be5645176 100644 --- a/sys-libs/pwdb/files/pwdb-0.62-selinux.patch +++ b/sys-libs/pwdb/files/pwdb-0.62-selinux.patch @@ -433,13 +433,11 @@ CFLAGS+=# -DDEBUG -@@ -50,6 +50,6 @@ all: $(LIBSTATIC) $(LIBDYNAME) +@@ -50,6 +50,7 @@ + all: $(LIBSTATIC) $(LIBDYNAME) - $(LIBDYNAME): $(LIBOBJ) -- $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,$(LIBSONAME) -Wl,-x -o $(LIBFILENAME) $(LIBOBJ) -lcrypt -lnsl -lc -+ $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,$(LIBSONAME) -Wl,-x -o $(LIBFILENAME) $(LIBOBJ) -lcrypt -lnsl -lc -lselinux - @ln -sf $(LIBFILENAME) $@ ++$(LIBDYNAME): LDLIBS += -lselinux - $(LIBSTATIC): $(LIBOBJ) - $(AR) $@ $(LIBOBJ) + $(LIBDYNAME): $(LIBOBJ) + $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,$(LIBSONAME) -Wl,-x -o $(LIBFILENAME) $(LIBOBJ) -lcrypt -lnsl $(LDLIBS) |