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