libcap: Fix compilation with uClibc-ng

The test does not compile with --static.

As this does not touch binaries, not bumping the package release.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-01-10 18:36:33 -08:00
parent cb63deb8e9
commit 3a559224b3
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- 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
clean:
rm -f psx_test psx_test_wrap libcap_psx_test