nixpkgs/pkgs/os-specific
Rodrigo Arias Mallo 8f82d69669 libcap: Fix static build setting LIBCSTATIC=yes
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
  ...
2023-11-20 19:22:11 +01:00
..
bsd treewide: use uncurried version of makeScopeWithSplicing 2023-08-14 02:51:10 +03:00
darwin Merge pull request #268519 from boltzmannrain/coresymbolication_c99_fix 2023-11-19 18:42:32 +02:00
linux libcap: Fix static build setting LIBCSTATIC=yes 2023-11-20 19:22:11 +01:00
solo5
windows treewide: vendorSha256 -> vendorHash (#256514) 2023-09-21 19:11:11 +02:00