Files
openwrt-packages/utils/setools/patches/030-remove-host-paths.patch
W. Michael Petullo 2b7ca411ec setools: update to 4.5.1
Upstream list of changes is available at
https://github.com/SELinuxProject/setools/releases/tag/4.5.1.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2025-07-16 00:18:37 +02:00

12 lines
253 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ import os.path
# Library linkage
-lib_dirs = ['.', '/usr/lib64', '/usr/lib', '/usr/local/lib']
+lib_dirs = ['.', os.environ["STAGING_DIR"] + '/usr/lib']
include_dirs = []
with suppress(KeyError):