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

12 lines
327 B
Diff
Raw Normal View History

2020-07-21 21:41:55 +02:00
--- ./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 @@
2019-12-12 00:46:36 +01:00
)
2020-07-21 21:41:55 +02:00
// #cgo CFLAGS: -I${SRCDIR}/include
-// #cgo LDFLAGS: -lpthread -Wl,-wrap,pthread_create
+// #cgo LDFLAGS: -Wl,-wrap,pthread_create
2019-12-12 00:46:36 +01:00
//
// #include <errno.h>
// #include <sys/psx_syscall.h>