Disabled ld override
export CFLAGS="-I$PREFIX/include"
export LDFLAGS="-L$PREFIX/lib"
export LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"
+ls $PREFIX/bin
ls $PREFIX/lib
ls $PREFIX/include
-./configure --prefix $PREFIX
+./configure ---disable-ld-override --prefix $PREFIX
make install
#Small test
echo "main = putStr \"smalltest\"" > Main.hs
