Re: [PATCH 1/1] fix building against musl and uClibc libc libraries.
Adam Duskett <[email protected]>
| Newsgroups | gmane.linux.redhat.fedora.selinux |
|---|---|
| Message-ID | <CAFSsvmpSyF3Za2Zu2=X5h=6M7SBWTN+X+OZPTmPLqz+63gqqhw@mail.gmail.com> |
Doh! Thank you! I appreciate the help! There are a few lists for SELinux! Adam On Tue, Apr 7, 2020 at 12:59 AM Ondrej Mosnacek <[email protected]> wrote: > > Hi Adam, > > you sent the patch to the wrong list :) The correct one for SElinux > upstream patches is: [email protected] > > Thanks, > > On Tue, Apr 7, 2020 at 2:15 AM <[email protected]> wrote: > > From: Adam Duskett <[email protected]> > > > > Currently, the src/Makefile provides the FTS_LDLIBS when building against musl > > or uClibc. However, this is missing from utils/Makefile, which causes linking > > to fail. > > > > Add the FTS_LDLIBS variable to the LDLIBS variable in utils/Makefile to fix > > compiling against uClibc and musl. > > > > Signed-off-by: Adam Duskett <[email protected]> > > --- > > libselinux/utils/Makefile | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libselinux/utils/Makefile b/libselinux/utils/Makefile > > index 36150638..a5632b7c 100644 > > --- a/libselinux/utils/Makefile > > +++ b/libselinux/utils/Makefile > > @@ -45,7 +45,7 @@ endif > > > > override CFLAGS += -I../include -D_GNU_SOURCE $(DISABLE_FLAGS) $(PCRE_CFLAGS) > > override LDFLAGS += -L../src > > -override LDLIBS += -lselinux > > +override LDLIBS += -lselinux $(FTS_LDLIBS) > > PCRE_LDLIBS ?= -lpcre > > > > ifeq ($(ANDROID_HOST),y) > > -- > > 2.25.1 > > _______________________________________________ > > selinux mailing list -- [email protected] > > To unsubscribe send an email to [email protected] > > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > > List Archives: https://lists.fedoraproject.org/archives/list/[email protected] > > -- > Ondrej Mosnacek <omosnace at redhat dot com> > Software Engineer, Security Technologies > Red Hat, Inc. > _______________________________________________ selinux mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected]