Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
gr-newmod: Set OOT module VERSION_PATCH to 0 instead of git.
This avoids creating multiple copies of the .so file
(each with a different git tag) during development.
The ldconfig command doesn't necessarily set the symlink
properly and the old .so can get loaded after an update.
This can be very confusing for developers and this patch
suppresses that behavior by always creating the .so with
the same name.

Signed-off-by: Ron Economos <w6rz@comcast.net>
  • Loading branch information
drmpeg authored and mormj committed Jul 9, 2021
1 parent b6f2120 commit 6c36e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gr-utils/modtool/templates/gr-newmod/CMakeLists.txt
Expand Up @@ -33,7 +33,7 @@ list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules)
set(VERSION_MAJOR 1)
set(VERSION_API 0)
set(VERSION_ABI 0)
set(VERSION_PATCH git)
set(VERSION_PATCH 0)

cmake_policy(SET CMP0011 NEW)

Expand Down

0 comments on commit 6c36e38

Please sign in to comment.