Skip to content

Commit

Permalink
pjsip: cope with !(stdenv.cc.libcxx?cxxabi)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph committed Jan 20, 2024
1 parent 895dbe8 commit 9d96656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/networking/pjsip/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optional stdenv.isLinux alsa-lib
++ lib.optionals stdenv.isDarwin [ AppKit CoreFoundation Security ];

env = lib.optionalAttrs (stdenv.cc.libcxx != null) {
env = lib.optionalAttrs (stdenv.cc.libcxx != null && stdenv.cc.libcxx?cxxabi.libName) {
# work around https://github.com/NixOS/nixpkgs/issues/166205
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
} // lib.optionalAttrs stdenv.cc.isClang {
Expand Down

0 comments on commit 9d96656

Please sign in to comment.