diff options
-rw-r--r-- | recipe.d/0101-libsepol | 8 |
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 |