summaryrefslogtreecommitdiffstats
path: root/examples/PrintFunctionNames/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/PrintFunctionNames/Makefile')
-rw-r--r--examples/PrintFunctionNames/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/PrintFunctionNames/Makefile b/examples/PrintFunctionNames/Makefile
index 125ac4854f..23a5305401 100644
--- a/examples/PrintFunctionNames/Makefile
+++ b/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