From 3a559224b3406158888c9590f3a808606094b4da Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 10 Jan 2020 18:36:33 -0800 Subject: [PATCH] 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 --- libs/libcap/patches/300-uclibc-ng.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/libcap/patches/300-uclibc-ng.patch diff --git a/libs/libcap/patches/300-uclibc-ng.patch b/libs/libcap/patches/300-uclibc-ng.patch new file mode 100644 index 000000000..616d2725d --- /dev/null +++ b/libs/libcap/patches/300-uclibc-ng.patch @@ -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