Merge pull request #11596 from pffmachado/issue-libcan

libcap: fix build failure
This commit is contained in:
Rosen Penev
2020-03-20 16:02:23 -07:00
committed by GitHub
2 changed files with 10 additions and 11 deletions
@@ -0,0 +1,10 @@
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,6 @@ endif
ifeq ($(GOLANG),yes)
$(MAKE) -C go $@
endif
- $(MAKE) -C tests $@
$(MAKE) -C progs $@
$(MAKE) -C doc $@
$(MAKE) -C kdebug $@
-11
View File
@@ -1,11 +0,0 @@
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -32,7 +32,7 @@ run_libcap_psx_test: libcap_psx_test
./libcap_psx_test
libcap_psx_test: libcap_psx_test.c $(DEPS)
- $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBCAPLIB) $(LIBPSXLIB) -Wl,-wrap,pthread_create --static
+ $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBCAPLIB) $(LIBPSXLIB) -Wl,-wrap,pthread_create
run_libcap_launch_test: libcap_launch_test libcap_psx_launch_test noop
sudo ./libcap_launch_test