Commit 5d216476 authored by Natanael Copa's avatar Natanael Copa

extra/fcgi: allow build even if g++ is installed on system

parent 2afd5b8b
......@@ -21,22 +21,17 @@ build() {
patch -p1 < $i || return 1
done
# not sure how to use autotools for this apk
# Removed makefile patch and added libs -lm
#aclocal || return 1
#autoconf || return 1
# add missing files so automake doesnt error
#touch NEWS AUTHORS ChangeLog || return 1
#automake --add-missing || return 1
#libtoolize || return 1
export LIBS="$LIBS -lm"
# seems like there is no way to disable c++ from configure script
# the row below helps us to build even if g++ is installed on system
export CXX=false
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared \
--enable-static
--enable-shared
make || return 1
make DESTDIR="$pkgdir" install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment