Skip to content

Commit 4c8437b

Browse files
committed
Update make.sh
1 parent e205074 commit 4c8437b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

make.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ function set_flag() {
2121
fi
2222
}
2323

24-
DEFAULT_CXXFLAGS="-std=c++11 -I ../include -shared -fPIC -s -O3"
25-
DEFAULT_LDFLAGS=""
24+
DEFAULT_CXXFLAGS="-std=c++11 -I$CS_DEV_PATH/include -I../include -shared -fPIC -s -O3"
25+
DEFAULT_LDFLAGS="-L$CS_DEV_PATH/lib -lcovscript"
2626
DEFAULT_CXX=g++
2727

2828
set_flag CXX $DEFAULT_CXX
@@ -41,5 +41,4 @@ done
4141
mkdir -p build
4242
cd build
4343
mkdir -p imports
44-
$CXX $CXXFLAGS ../regex.cpp $LDFLAGS -o ./imports/regex.cse
45-
44+
$CXX $CXXFLAGS ../regex.cpp $LDFLAGS -o ./imports/regex.cse

0 commit comments

Comments
 (0)