fastcgi.mk (591B)
1 TARG = fastcgi 2 3 <$mkbuild/mk.common-noinst 4 5 fastcgi:QV: 6 export CFLAGS="$CFLAGS $DEPS_CFLAGS" 7 export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" 8 CC="$CC -static" ./configure \ 9 --build="${TOOLCHAIN_TRIPLET}" \ 10 --host="${HOST_TOOLCHAIN_TRIPLET}" \ 11 --prefix="$PREFIX" \ 12 --mandir="$ROOT/share/man" \ 13 --disable-shared \ 14 --enable-static 15 make -j$nprocs LDFLAGS="-all-static $LDFLAGS" 16 # install lib for use as a dependency. 17 make -j$nprocs install DESTDIR=`pwd`/lib 18 # remove .la files for now ? 19 find `pwd`/lib -iname "*.la" -exec rm {} \; 20 21 install:QV: 22 make -j$nprocs install DESTDIR="$ROOT"