summaryrefslogtreecommitdiff
path: root/tools/edis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/edis/Makefile')
-rw-r--r--tools/edis/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/tools/edis/Makefile b/tools/edis/Makefile
index f28929f02d..ab65b2b835 100644
--- a/tools/edis/Makefile
+++ b/tools/edis/Makefile
@@ -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