summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.mk')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.mk b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.mk
index ebb5ce15787..5b5691efeef 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.mk
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/c.mk
@@ -3,7 +3,9 @@ LEVEL := ../../make
LIB_PREFIX := loadunload_
DYLIB_NAME := $(LIB_PREFIX)c
-DYLIB_C_SOURCES := c.c
+DYLIB_CXX_SOURCES := c.cpp
DYLIB_ONLY := YES
+CXXFLAGS += -fPIC
+
include $(LEVEL)/Makefile.rules
OpenPOWER on IntegriCloud