diff --git a/alliance/src/distrib/mkdistrib b/alliance/src/distrib/mkdistrib index 1c31f5ca..2f115e43 100755 --- a/alliance/src/distrib/mkdistrib +++ b/alliance/src/distrib/mkdistrib @@ -3,7 +3,7 @@ # Copyright (C) 1999, 2000, 2001, 2002, 2003 Czo # License: GPL (http://www.gnu.org/copyleft/gpl.html) # -# $Id: mkdistrib,v 1.14 2004/07/16 21:18:15 jpc Exp $ +# $Id: mkdistrib,v 1.15 2004/07/17 09:32:05 jpc Exp $ # # /------------------------------------------------------------------\ # | | @@ -221,11 +221,14 @@ try mkdir -p $TMPDESTDIR/$TARGET $TMPBUILDDIR/$TARGET ssh -n $TARGET \ - "cd $DISTRIBDIR/$TMPBUILDDIR/$TARGET ; \ - ALLIANCE_TOP=$ALLIANCE_TOP ; export ALLIANCE_TOP ; \ + "cd $DISTRIBDIR/$TMPBUILDDIR/$TARGET; \ + ALLIANCE_TOP=$ALLIANCE_TOP; export ALLIANCE_TOP; \ + CPPFLAGS=-I$DISTRIBDIR/$TMPDESTDIR/$TARGET/include; export CPPFLAGS; \ + CFLAGS=-I$DISTRIBDIR/$TMPDESTDIR/$TARGET/include; export CFLAGS; \ + LIBS=-L$DISTRIBDIR/$TMPDESTDIR/$TARGET/lib; export LIBS; \ MAKE=gmake; export MAKE; \ PATH=${PATH}:/usr/ccs/bin; export PATH; \ - ../../$NAME/configure --prefix=$ALLIANCE_TOP ; \ + ../../$NAME/configure --prefix=$ALLIANCE_TOP --enable-alc-shared; \ gmake DESTDIR=$DISTRIBDIR/$TMPDESTDIR/$TARGET install \ && echo Alliance_compilation_OK" 2>&1 | tee $TARGETLOGFILE try grep Alliance_compilation_OK $TARGETLOGFILE