summaryrefslogtreecommitdiffstats
path: root/clang/examples/PrintFunctionNames/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'clang/examples/PrintFunctionNames/Makefile')
-rw-r--r--clang/examples/PrintFunctionNames/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/examples/PrintFunctionNames/Makefile b/clang/examples/PrintFunctionNames/Makefile
index 125ac4854ff..23a53054019 100644
--- a/clang/examples/PrintFunctionNames/Makefile
+++ b/clang/examples/PrintFunctionNames/Makefile
@@ -18,7 +18,11 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/PrintFunctionNames.exports
endif
endif
-LINK_LIBS_IN_SHARED = 1
+LINK_LIBS_IN_SHARED = 0
SHARED_LIBRARY = 1
include $(CLANG_LEVEL)/Makefile
+
+ifeq ($(OS),Darwin)
+ LDFLAGS=-Wl,-undefined,dynamic_lookup
+endif
OpenPOWER on IntegriCloud