diff --git a/build.sh b/build.sh index 4c2e737..cf7b64a 100755 --- a/build.sh +++ b/build.sh @@ -49,7 +49,7 @@ DESTDIR="../install" LIBDIR_PATH="" DFLAGS="-w -g -op -c -od../build" -while getopts “hvqscf:l:p:” OPTION +while getopts “hvqsc:f:l:p:” OPTION do case $OPTION in c) @@ -202,11 +202,11 @@ case ${DC} in echo "not supported" else if [[ $VERBOSE -ge 2 ]]; then - echo -e "${DC} -link *.o -of ${LIBDIR_PATH}/libDFastCGI-${COMPILER}.a" + echo -e "${DC} -lib *.o -of${LIBDIR_PATH}/libDFastCGI-${COMPILER}.a" fi - ${DC} -link $(find . -name "*.o") -of ${LIBDIR_PATH}/libDFastCGI-${COMPILER}.a + ${DC} -lib $(find . -name "*.o") -of${LIBDIR_PATH}/libDFastCGI-${COMPILER}.a if [[ $? -ge 1 ]]; then - fail "${DC} -link" + fail "${DC} -lib" fi fi ;;