1 From e6f6d1529d1725e8c1ed3c96eecc4aea43417aea Mon Sep 17 00:00:00 2001
2 From: Matthew Maurer <matthew.r.maurer@gmail.com>
3 Date: Sun, 19 Apr 2020 15:50:01 -0700
4 Subject: [PATCH] Remove attempt to work around libcurses dependency issues.
6 BAP doesn't actually link against libcurses, LLVM does. By adding
7 -lcurses to this file, we accidentally broke linking on any systems
8 where LLVM got linked against libncurses (not libcurses) without a
9 libcurses compatibility shim.
11 Overall, we should get -l flags from llvm-config, not attempt to
12 shoehorn them in later, as this is fragile.
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/oasis/llvm b/oasis/llvm
18 index 966c407..fba3fb4 100644
21 @@ -31,7 +31,7 @@ Library bap_llvm
22 Bap_llvm_ogre_samples,
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,