mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
4fe23ed6ca
This makes the build correct when cap==null It also patches the Makefiles so that shared libraries aren't built during the install phase
23 lines
579 B
Diff
23 lines
579 B
Diff
diff --git a/libcap/Makefile b/libcap/Makefile
|
|
index de6a28d..7e4d8ac 100644
|
|
--- a/libcap/Makefile
|
|
+++ b/libcap/Makefile
|
|
@@ -22,7 +22,7 @@ MAJLIBNAME=$(LIBNAME).$(VERSION)
|
|
MINLIBNAME=$(MAJLIBNAME).$(MINOR)
|
|
GPERF_OUTPUT = _caps_output.gperf
|
|
|
|
-all: $(MINLIBNAME) $(STACAPLIBNAME) pcs $(STAPSXLIBNAME)
|
|
+all: $(STACAPLIBNAME) pcs $(STAPSXLIBNAME)
|
|
|
|
pcs: libcap.pc libpsx.pc
|
|
|
|
@@ -93,7 +93,7 @@ cap_test: cap_test.c libcap.h
|
|
test: cap_test
|
|
./cap_test
|
|
|
|
-install: install-static install-shared
|
|
+install: install-static
|
|
|
|
install-static: install-static-cap install-static-psx
|
|
|