From dfbea2a6b2898ab79bb90f7831ddebd8f656e14e Mon Sep 17 00:00:00 2001 From: Damien Dupuis Date: Tue, 9 Feb 2010 12:32:35 +0000 Subject: [PATCH] Update script for static building purpose. PLEASE update your script. You only have to update the script (no compilation needed) and verify that your easyChams program points to this updated script. --- bootstrap/easyChams/script/chams.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap/easyChams/script/chams.sh b/bootstrap/easyChams/script/chams.sh index 8d398c18..b9fee15d 100755 --- a/bootstrap/easyChams/script/chams.sh +++ b/bootstrap/easyChams/script/chams.sh @@ -101,7 +101,7 @@ compile() { fi echo "#### Now compiling $TOOL ####" echo "" - cmake -D "CMAKE_BUILD_TYPE:STRING=$MODE" -D "BUILD_DOC:STRING=$DOC" -D "BUILD_STATIC:STRING=$STATIC" $SOURCE/$TOOL + cmake -D "CMAKE_BUILD_TYPE:STRING=$MODE" -D "BUILD_DOC:STRING=$DOC" -D "BUILD_SHARED_LIBS:STRING=$SHARED" $SOURCE/$TOOL make "DESTDIR=$INSTALL" -j2 install if [ $? -ne 0 ] then @@ -118,7 +118,7 @@ TOOLS="" OSTYPE="" MODE="" LIBMODE="Shared" -STATIC="OFF" +SHARED="ON" DOC="OFF" SVNUP=0 CLEAN=0 @@ -136,7 +136,7 @@ do t) TOOL=${OPTARG} TOOLS="$TOOLS $TOOL";; m) MODE=${OPTARG};; - s) STATIC="ON" + s) SHARED="OFF" LIBMODE="Static";; d) DOC="ON";; u) SVNUP=1;;