Skip to content

Commit 993938d

Browse files
committed
Update make.sh
1 parent b534965 commit 993938d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

make.sh

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

24-
COMMON_FLAGS="-I ../include -fPIC -O3"
24+
COMMON_FLAGS="-I$CS_DEV_PATH/include -I../include -fPIC -O3"
2525
DEFAULT_CXXFLAGS="-std=c++11 -shared -s $COMMON_FLAGS"
2626
DEFAULT_CFLAGS="$COMMON_FLAGS"
27-
DEFAULT_LDFLAGS="-lpthread"
27+
DEFAULT_LDFLAGS="-L$CS_DEV_PATH/lib -lcovscript -lpthread"
2828
DEFAULT_CXX=g++
2929
DEFAULT_CC=gcc
3030

@@ -48,4 +48,4 @@ cd build
4848
mkdir -p imports
4949
$CC $CFLAGS -c ../sqlite3.c
5050
$CXX $CXXFLAGS ../sqlite.cpp ./sqlite3.o $LDFLAGS -o ./imports/sqlite.cse
51-
rm ./sqlite3.o
51+
rm ./sqlite3.o

0 commit comments

Comments
 (0)