summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Stone <ahs3@redhat.com>2013-01-03 11:29:13 -0700
committerAl Stone <ahs3@redhat.com>2013-01-03 11:29:13 -0700
commit21a24a53c4620e76a53a1b547fee60cad6d39a9d (patch)
treeadb2ae163bde5c3ac048bb48a04307aa9726b2d1
parent3ecb1ee2da658aa59a1512bef0d0b49161beb257 (diff)
downloadbootstrap.git.DONOTUSE-21a24a53c4620e76a53a1b547fee60cad6d39a9d.tar.gz
bootstrap.git.DONOTUSE-21a24a53c4620e76a53a1b547fee60cad6d39a9d.tar.xz
bootstrap.git.DONOTUSE-21a24a53c4620e76a53a1b547fee60cad6d39a9d.zip
correct paths for installing libsepol
Signed-off-by: Al Stone <ahs3@redhat.com>
-rw-r--r--recipe.d/0101-libsepol8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipe.d/0101-libsepol b/recipe.d/0101-libsepol
index 831a93a..4104d88 100644
--- a/recipe.d/0101-libsepol
+++ b/recipe.d/0101-libsepol
@@ -1,5 +1,9 @@
mcd $BUILDDIR/libsepol
rsync -av $SRC/libsepol-*/ ./
-make CC=gcc $J
-make CC=gcc $J install
+# TARGET is exported by local.conf and passed on make cmdline in stage2
+# script. This overrides the definition in the libsepol Makefile, so
+# we need to override again on the make cmdline here.
+
+make TARGET=libsepol.so CC=gcc $J
+make TARGET=libsepol.so CC=gcc $J LIBDIR=/usr/lib${SUFFIX} SHLIBDIR=/lib${SUFFIX} install