We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad93f14 commit 2c079d6Copy full SHA for 2c079d6
make.sh
@@ -21,7 +21,7 @@ function set_flag() {
21
fi
22
}
23
24
-COMMON_FLAGS="-I ../include -shared -fPIC -s -O3 -ldl"
+COMMON_FLAGS="-I ../include -shared -fPIC -s -O3 -ldl -lpthread"
25
DEFAULT_CXXFLAGS="-std=c++11 $COMMON_FLAGS"
26
DEFAULT_CFLAGS="$COMMON_FLAGS"
27
DEFAULT_LDFLAGS=""
@@ -48,5 +48,4 @@ cd build
48
mkdir -p imports
49
$CC $CFLAGS -c ../sqlite3.c
50
$CXX $CXXFLAGS ../sqlite.cpp ./sqlite3.o $LDFLAGS -o ./imports/sqlite.cse
51
-rm ./sqlite3.o
52
-
+rm ./sqlite3.o
0 commit comments