From 6b75e78bde80a65ffde34cd7523f97687630e681 Mon Sep 17 00:00:00 2001 From: Al Stone Date: Thu, 3 Jan 2013 13:42:11 -0700 Subject: correct paths for build for libsemanage Signed-off-by: Al Stone --- recipe.d/0104-libsemanage | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'recipe.d') 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 -- cgit