mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 19:54:50 +00:00
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:
11
libs/libcap/patches/300-uclibc-ng.patch
Normal file
11
libs/libcap/patches/300-uclibc-ng.patch
Normal 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
|
||||
Reference in New Issue
Block a user