[PATCH] LibSELinux Python dependency whinge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Seeing as I am taking up your time, I may as well provide my patch. Licensed as the rest of libselinux (public domain).

The following provides two new make targets for libselinux.so: "make all-nopython" and "make install-nopython"

The top level Makefile needs the following additions:

all-nopython:
	$(MAKE) -C src all-nopython
	$(MAKE) -C utils

install-nopython:
	$(MAKE) -C include install
	$(MAKE) -C src install-nopython
	$(MAKE) -C utils install
	$(MAKE) -C man install

The Makefile in the src directory needs the following changes (note that this splits up the old "install" target).

install-libselinux:
	test -d $(LIBDIR) || install -m 755 -d $(LIBDIR)
	install -m 644 $(LIBA) $(LIBDIR)
	test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR)
	install -m 755 $(LIBSO) $(SHLIBDIR)
	cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET)

all-nopython: $(LIBA) $(LIBSO)

install-nopython: install-libselinux

install: all install-pywrap install-libselinux


Seems to work for me.  Keep up the good work!

JH

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux