summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/Platform/Darwin-xlc.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-xlc.cmake b/Modules/Platform/Darwin-xlc.cmake
new file mode 100644
index 0000000..8b4f9ff
--- /dev/null
+++ b/Modules/Platform/Darwin-xlc.cmake
@@ -0,0 +1,2 @@
+SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj")
+SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle")