termux-packages/packages/libcap/psx-psx.go.patch

12 lines
327 B
Diff

--- ./psx/psx.go.orig 2020-07-21 19:37:43.314690622 +0000
+++ ./psx/psx.go 2020-07-21 19:39:30.311949902 +0000
@@ -38,7 +38,7 @@
)
// #cgo CFLAGS: -I${SRCDIR}/include
-// #cgo LDFLAGS: -lpthread -Wl,-wrap,pthread_create
+// #cgo LDFLAGS: -Wl,-wrap,pthread_create
//
// #include <errno.h>
// #include <sys/psx_syscall.h>