diff options
author | Pierre Ossman <ossman@cendio.se> | 2016-12-11 14:04:37 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2016-12-15 15:33:42 +0100 |
commit | 4495b72f991ba55bf59bf2cd910da72a09cebf8c (patch) | |
tree | 90ba9696175e5ef71819d2d518db058fb5bb8148 /cmake | |
parent | 8b5a7d90172d4699dcaa355a05535e5ef07b3cac (diff) | |
download | tigervnc-4495b72f991ba55bf59bf2cd910da72a09cebf8c.tar.gz tigervnc-4495b72f991ba55bf59bf2cd910da72a09cebf8c.zip |
Update .la files on each build
This makes sure other build systems trigger properly, e.g. when
building Xvnc.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/CMakeMacroLibtoolFile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/Modules/CMakeMacroLibtoolFile.cmake b/cmake/Modules/CMakeMacroLibtoolFile.cmake index a54d9949..1d8b8fc0 100644 --- a/cmake/Modules/CMakeMacroLibtoolFile.cmake +++ b/cmake/Modules/CMakeMacroLibtoolFile.cmake @@ -132,6 +132,10 @@ macro(libtool_create_control_file _target) file(APPEND ${_laname} "dlpreopen=''\n\n") file(APPEND ${_laname} "libdir='/usr/lib'\n\n") + # Make sure the timestamp is updated to trigger other make invocations + add_custom_command(TARGET ${_target} POST_BUILD COMMAND + "${CMAKE_COMMAND}" -E touch "${_laname}") + # Add custom command to symlink the static library so that autotools finds # the library in .libs. These are executed after the specified target build. |