summaryrefslogtreecommitdiffstats
path: root/package/libselinux
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2017-07-05 13:14:23 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 15:21:31 +0200
commit3b91bd479150a599970c9121a585df9fc1566ff7 (patch)
treefaae604f66b3f3a8835b4d43909cbf2bf33cf2c2 /package/libselinux
parent24e50620c9ce952c85c1de1e6b20f6bcdda8f39d (diff)
downloadbuildroot-3b91bd479150a599970c9121a585df9fc1566ff7.tar.gz
buildroot-3b91bd479150a599970c9121a585df9fc1566ff7.zip
Globally replace $(HOST_DIR)/usr/share with $(HOST_DIR)/share
Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/share' | xargs sed -i 's%$(HOST_DIR)/usr/share%$(HOST_DIR)/share%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libselinux')
-rw-r--r--package/libselinux/libselinux.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk
index 3f2aa4cbfe..1698947184 100644
--- a/package/libselinux/libselinux.mk
+++ b/package/libselinux/libselinux.mk
@@ -36,7 +36,7 @@ endif
LIBSELINUX_MAKE_OPTS += \
PYINC="$(LIBSELINUX_PYINC)" \
PYSITEDIR=$(TARGET_DIR)/usr/lib/$(LIBSELINUX_PYLIBVER)/site-packages \
- SWIG_LIB="$(HOST_DIR)/usr/share/swig/$(SWIG_VERSION)/"
+ SWIG_LIB="$(HOST_DIR)/share/swig/$(SWIG_VERSION)/"
LIBSELINUX_MAKE_INSTALL_TARGETS += install-pywrap
@@ -90,7 +90,7 @@ HOST_LIBSELINUX_MAKE_OPTS = \
LDFLAGS="$(HOST_LDFLAGS) -lpcre -lpthread" \
PYINC="$(HOST_LIBSELINUX_PYINC)" \
PYSITEDIR="$(HOST_DIR)/lib/$(HOST_LIBSELINUX_PYLIBVER)/site-packages" \
- SWIG_LIB="$(HOST_DIR)/usr/share/swig/$(SWIG_VERSION)/"
+ SWIG_LIB="$(HOST_DIR)/share/swig/$(SWIG_VERSION)/"
define HOST_LIBSELINUX_BUILD_CMDS
# DESTDIR is needed during the compile to compute library and
OpenPOWER on IntegriCloud