mirror of
https://github.com/openwrt/packages.git
synced 2025-12-14 14:41:20 +00:00
python3-libselinux: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [strip C library after adding it to openwrt repository] Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
committed by
Paul Spooren
parent
02cbc208f1
commit
d4a498040d
@@ -0,0 +1,12 @@
|
||||
diff -u --recursive libselinux-3.1-vanilla/src/Makefile libselinux-3.1/src/Makefile
|
||||
--- libselinux-3.1-vanilla/src/Makefile 2020-07-10 11:17:15.000000000 -0400
|
||||
+++ libselinux-3.1/src/Makefile 2020-07-12 14:33:56.337229240 -0400
|
||||
@@ -131,7 +131,7 @@
|
||||
all: $(LIBA) $(LIBSO) $(LIBPC)
|
||||
|
||||
pywrap: all selinuxswig_python_exception.i
|
||||
- CFLAGS="$(CFLAGS) $(SWIG_CFLAGS)" $(PYTHON) setup.py build_ext
|
||||
+ LDSHARED="$(CC) -shared" CFLAGS="$(CFLAGS) $(SWIG_CFLAGS)" $(PYTHON) setup.py build_ext
|
||||
|
||||
rubywrap: all $(SWIGRUBYSO)
|
||||
|
||||
Reference in New Issue
Block a user