this logic is handled by tools/makefile.
authorChris Lattner <sabre@nondot.org>
Tue, 20 Jul 2010 20:33:59 +0000 (20:33 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Jul 2010 20:33:59 +0000 (20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108919 91177308-0d34-0410-b5e6-96231b3b80d8

tools/edis/Makefile

index f28929f02d960ed1e6dd27b5b05702d363c34ba1..ab65b2b83545ed6d44084e3ad69b124b40c6f43d 100644 (file)
@@ -9,6 +9,8 @@
 
 LEVEL = ../..
 LIBRARYNAME = EnhancedDisassembly
+LINK_LIBS_IN_SHARED = 1
+SHARED_LIBRARY = 1
 
 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/EnhancedDisassembly.exports
 
@@ -17,15 +19,6 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/EnhancedDisassembly.exports
 # early so we can set up LINK_COMPONENTS before including Makefile.rules
 include $(LEVEL)/Makefile.config
 
-ifeq ($(ENABLE_PIC),1)
-  ifneq ($(DISABLE_EDIS),1)
-    ifneq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW))
-       LINK_LIBS_IN_SHARED = 1
-       SHARED_LIBRARY = 1
-    endif
-  endif
-endif
-
 LINK_COMPONENTS := $(TARGETS_TO_BUILD) mcdisassembler x86asmprinter x86disassembler
 
 include $(LEVEL)/Makefile.common