Skip to content

Commit 16a990b

Browse files
author
auxten
committed
build can work now, need to solve the libcrypto dynamic link problem
1 parent 5b5c192 commit 16a990b

File tree

3 files changed

+5306
-4
lines changed

3 files changed

+5306
-4
lines changed

_example/simple/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
CGO_ENABLED=1 GOARCH=amd64 GOOS=linux CGO_CFLAGS="-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2" GOLDFLAGS="-linkmode external -extldflags -static" CGO_LDFLAGS="/usr/lib/x86_64-linux-gnu/libcrypto.a" go build -v --tags "linux"

0 commit comments

Comments
 (0)