mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
8f82d69669
Fixes the build of pkgsStatic.libcap, as it was trying to link to the dinamic libc. From libcap-2.69/progs/Makefile: ... ifeq ($(LIBCSTATIC),yes) LDFLAGS = --static DEPS = ../libcap/libcap.a else # For this build variant override the LDFLAGS to link statically from # libraries within the build tree. If you never want this, use make # DYNAMIC=yes . Note, we can't reliably link statically against glibc # becasuse of https://sourceware.org/bugzilla/show_bug.cgi?id=12491 . LDFLAGS = -Wl,-Bstatic LDFLAGS_SUFFIX = -Wl,-Bdynamic DEPS = ../libcap/libcap.a endif ... |
||
---|---|---|
.. | ||
default.nix |