Fredrik Fornwall
5 years ago
4 changed files with 37 additions and 3 deletions
@ -0,0 +1,12 @@ |
|||
diff -u -r ../libcap-2.28/Make.Rules ./Make.Rules
|
|||
--- ../libcap-2.28/Make.Rules 2019-12-07 20:10:11.000000000 +0000
|
|||
+++ ./Make.Rules 2019-12-11 23:41:49.847418000 +0000
|
|||
@@ -62,7 +62,7 @@
|
|||
LD=$(CC) -Wl,-x -shared |
|||
LDFLAGS := #-g |
|||
LIBCAPLIB := -L$(topdir)/libcap -lcap |
|||
-LIBPSXLIB := -L$(topdir)/libcap -lpsx -lpthread
|
|||
+LIBPSXLIB := -L$(topdir)/libcap -lpsx
|
|||
|
|||
BUILD_GPERF := $(shell which gperf >/dev/null 2>/dev/null && echo yes) |
|||
|
@ -0,0 +1,11 @@ |
|||
diff -u -r ../libcap-2.28/Makefile ./Makefile
|
|||
--- ../libcap-2.28/Makefile 2019-12-07 19:45:11.000000000 +0000
|
|||
+++ ./Makefile 2019-12-11 23:43:35.404511000 +0000
|
|||
@@ -16,7 +16,6 @@
|
|||
ifeq ($(GOLANG),yes) |
|||
$(MAKE) -C go $@ |
|||
endif |
|||
- $(MAKE) -C tests $@
|
|||
$(MAKE) -C progs $@ |
|||
$(MAKE) -C doc $@ |
|||
$(MAKE) -C kdebug $@ |
@ -0,0 +1,12 @@ |
|||
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> |
Loading…
Reference in new issue