summaryrefslogtreecommitdiffstats
path: root/recipe.d
diff options
context:
space:
mode:
authorAl Stone <ahs3@redhat.com>2013-01-03 13:42:11 -0700
committerAl Stone <ahs3@redhat.com>2013-01-03 13:42:11 -0700
commit6b75e78bde80a65ffde34cd7523f97687630e681 (patch)
tree323d3564a9e9370e64b8d42bde3cb9218179b948 /recipe.d
parent43adb1992f9a467bb23f017c0afc26861f66b7d7 (diff)
downloadbootstrap.git.DONOTUSE-6b75e78bde80a65ffde34cd7523f97687630e681.tar.gz
bootstrap.git.DONOTUSE-6b75e78bde80a65ffde34cd7523f97687630e681.tar.xz
bootstrap.git.DONOTUSE-6b75e78bde80a65ffde34cd7523f97687630e681.zip
correct paths for build for libsemanage
Signed-off-by: Al Stone <ahs3@redhat.com>
Diffstat (limited to 'recipe.d')
-rw-r--r--recipe.d/0104-libsemanage8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipe.d/0104-libsemanage b/recipe.d/0104-libsemanage
index c774e97..2da9471 100644
--- a/recipe.d/0104-libsemanage
+++ b/recipe.d/0104-libsemanage
@@ -6,5 +6,9 @@
mcd $BUILDDIR/libsemanage
rsync -av $SRC/libsemanage-*/ ./
-make $J
-make $J install
+# TARGET is exported by local.conf and passed on make cmdline in stage2
+# script. This overrides the definition in the libsemanage Makefile, so
+# we need to override again on the make cmdline here.
+
+make TARGET=libsemanage.so CC=gcc $J
+make TARGET=libsemanage.so CC=gcc $J LIBDIR=/usr/lib${SUFFIX} SHLIBDIR=/lib${SUFFIX} install