diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-01-23 15:34:53 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-01-23 15:34:53 +0000 |
commit | 12d2821bf56be27d33b90f109220a342a11828ca (patch) | |
tree | a7899a309b261e217e6ef4be8585e5f7dd29d806 /pkgs/desktops/rox | |
parent | c5c7778f0987596bfeddf1b0d15b897761b3e516 (diff) |
treewide: remove -ldl linker flags
With all libcs I'm aware of, libdl is now either empty (Glibc, musl, uclibc, illumos), a symlink to libc or equivalent (Apple), or does not exist (FreeBSD, NetBSD). So explicitly linking libdl now does nothing for the former platforms, and breaks the build for the latter platforms. With this patch I've removed -ldl from all overridden linker flags for all free packages in Nixpkgs. Everything still seems to build.
Diffstat (limited to 'pkgs/desktops/rox')
-rw-r--r-- | pkgs/desktops/rox/rox-filer/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/desktops/rox/rox-filer/default.nix b/pkgs/desktops/rox/rox-filer/default.nix index e26c90592252f..b05be287a89d4 100644 --- a/pkgs/desktops/rox/rox-filer/default.nix +++ b/pkgs/desktops/rox/rox-filer/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { wrapGAppsHook ]; buildInputs = [ libxml2 gtk shared-mime-info libSM ]; - NIX_LDFLAGS = "-ldl -lm"; + NIX_LDFLAGS = "-lm"; patches = [ ./rox-filer-2.11-in-source-build.patch |