diff options
Diffstat (limited to 'mkspecs/features/use_c_linker.prf')
-rw-r--r-- | mkspecs/features/use_c_linker.prf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/use_c_linker.prf b/mkspecs/features/use_c_linker.prf new file mode 100644 index 0000000..e07ce6a --- /dev/null +++ b/mkspecs/features/use_c_linker.prf @@ -0,0 +1,5 @@ +!isEmpty(QMAKE_LINK_C):QMAKE_LINK = $$QMAKE_LINK_C +!isEmpty(QMAKE_LINK_C_SHLIB) { + !isEmpty(QMAKE_LINK_SHLIB_CMD):QMAKE_LINK_SHLIB_CMD ~= s/^$$re_escape($$QMAKE_LINK_SHLIB)$/$$QMAKE_LINK_C_SHLIB/ + QMAKE_LINK_SHLIB = $$QMAKE_LINK_C_SHLIB +} |