Added $CONFIGURE_FLAGS to YAML compilation

This commit is contained in:
Shoghi Cervantes 2014-02-01 01:21:30 +01:00
parent 6ba6aa5b61
commit a9d0716bde

View File

@ -241,8 +241,11 @@ download_file "http://pyyaml.org/download/libyaml/yaml-$YAML_VERSION.tar.gz" | t
mv yaml-$YAML_VERSION yaml
echo -n " checking..."
cd yaml
RANLIB=$RANLIB ./configure --prefix="$DIR/install_data/php/ext/yaml" \
--enable-static --disable-shared >> "$DIR/install.log" 2>&1
RANLIB=$RANLIB ./configure \
--prefix="$DIR/install_data/php/ext/yaml" \
--enable-static \
--disable-shared \
$CONFIGURE_FLAGS >> "$DIR/install.log" 2>&1
echo -n " compiling..."
make -j $THREADS >> "$DIR/install.log" 2>&1
echo -n " installing..."