Skip to content

Commit dc98560

Browse files
author
auxten
committed
Add -lpthread for libicu static
1 parent 86281c4 commit dc98560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlite3_opt_icu.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
package sqlite3
99

1010
/*
11-
#cgo LDFLAGS: -licui18n -licuuc -licudata -lm -lstdc++
11+
#cgo LDFLAGS: -licui18n -licuuc -licudata -lm -lpthread -lstdc++
1212
#cgo CFLAGS: -DSQLITE_ENABLE_ICU -DU_STATIC_IMPLEMENTATION
1313
#cgo darwin CFLAGS: -I/usr/local/opt/icu4c/include
1414
#cgo darwin LDFLAGS: -L/usr/local/opt/icu4c/lib

0 commit comments

Comments
 (0)