Permalink
Browse files

Correction for "/usr/bin/ld: cannot find -lmysac"

udns must be compile first it seems
  • Loading branch information...
1 parent d1f5f28 commit 84a5f69b1e6083d296b5c5704963dce81e6de9d2 @lcharette lcharette committed Feb 7, 2013
Showing with 5 additions and 3 deletions.
  1. +5 −3 build.sh
View
@@ -15,6 +15,10 @@ case "$OS_TARGET" in
HOST_IS=Linux;;
esac
+cd ./deps/udns-0.0.9/
+make clean && ./configure && make
+cd ../../
+
if [ -e "/usr/include/mysql/mysql.h" ]
then
echo "HAS_MYSQL = yes" > ./modules/mysql.mk
@@ -27,9 +31,7 @@ else
echo "#undef _USE_MYSQL" >> ./src/configure.h
fi
-cd ./deps/udns-0.0.9/
-make clean && ./configure && make
-cd ../js/src/
+cd ./deps/js/src/
./configure && make -j8
cd ../../../
make

0 comments on commit 84a5f69

Please sign in to comment.