diff options
author | Brad King <brad.king@kitware.com> | 2011-12-02 15:22:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-12-02 15:23:48 (GMT) |
commit | ec636e299ff1b74457dc4fa306cbd9f33fabce9e (patch) | |
tree | 32920f2004902c0d48d0553296e64ec57ba452a1 /Modules/Compiler | |
parent | 1f49d725abf458070db063b81dd7093a00835274 (diff) | |
download | CMake-ec636e299ff1b74457dc4fa306cbd9f33fabce9e.zip CMake-ec636e299ff1b74457dc4fa306cbd9f33fabce9e.tar.gz CMake-ec636e299ff1b74457dc4fa306cbd9f33fabce9e.tar.bz2 |
TinyCC: Add compiler info for shared libs on Linux (#12605)
Use the "-shared" option to link shared libraries. The compiler does
not support "-Wl," or "-rpath" but does know how to pass "-soname"
through to the linker.
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/TinyCC-C.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/TinyCC-C.cmake b/Modules/Compiler/TinyCC-C.cmake new file mode 100644 index 0000000..bb27ead --- /dev/null +++ b/Modules/Compiler/TinyCC-C.cmake @@ -0,0 +1 @@ +SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") |