Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 32 lines 1.1 kB view raw
1From e6f6d1529d1725e8c1ed3c96eecc4aea43417aea Mon Sep 17 00:00:00 2001 2From: Matthew Maurer <matthew.r.maurer@gmail.com> 3Date: Sun, 19 Apr 2020 15:50:01 -0700 4Subject: [PATCH] Remove attempt to work around libcurses dependency issues. 5 6BAP doesn't actually link against libcurses, LLVM does. By adding 7-lcurses to this file, we accidentally broke linking on any systems 8where LLVM got linked against libncurses (not libcurses) without a 9libcurses compatibility shim. 10 11Overall, we should get -l flags from llvm-config, not attempt to 12shoehorn them in later, as this is fragile. 13--- 14 oasis/llvm | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) 16 17diff --git a/oasis/llvm b/oasis/llvm 18index 966c407..fba3fb4 100644 19--- a/oasis/llvm 20+++ b/oasis/llvm 21@@ -31,7 +31,7 @@ Library bap_llvm 22 Bap_llvm_ogre_samples, 23 Bap_llvm_ogre_types 24 CCOpt: $cc_optimization 25- CCLib: $llvm_lib $cxxlibs $llvm_ldflags -lcurses 26+ CCLib: $llvm_lib $cxxlibs $llvm_ldflags -lncurses 27 CSources: llvm_disasm.h, 28 llvm_disasm.c, 29 llvm_stubs.c, 30-- 312.22.0 32