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

13 lines
370 B
Diff

diff -u -r ../libcap-2.28/psx/psx.go ./psx/psx.go
--- ../libcap-2.28/psx/psx.go 2019-12-07 19:45:11.000000000 +0000
+++ ./psx/psx.go 2019-12-11 23:40:00.637288000 +0000
@@ -6,7 +6,7 @@
"syscall"
)
-// #cgo LDFLAGS: -lpsx -lpthread -Wl,-wrap,pthread_create
+// #cgo LDFLAGS: -lpsx -Wl,-wrap,pthread_create
//
// #include <errno.h>
// #include <sys/psx_syscall.h>