| |
@@ -0,0 +1,13 @@
|
| |
+ diff --git a/zypp-tui/CMakeLists.txt b/zypp-tui/CMakeLists.txt
|
| |
+ index eb94fa6..b2ec55f 100644
|
| |
+ --- a/zypp-tui/CMakeLists.txt
|
| |
+ +++ b/zypp-tui/CMakeLists.txt
|
| |
+ @@ -65,6 +65,8 @@ SET ( zypp_SRCS
|
| |
+ )
|
| |
+
|
| |
+ ADD_LIBRARY( zypp-tui ${zypp_SRCS} ${zypp_HEADERS} )
|
| |
+ +SET_TARGET_PROPERTIES( zypp-tui PROPERTIES VERSION "${LIBZYPP_VERSION_INFO}" )
|
| |
+ +SET_TARGET_PROPERTIES( zypp-tui PROPERTIES SOVERSION "0.n.${LIBZYPP_SOVERSION_INFO}" )
|
| |
+ add_dependencies( zypp-tui zypp-core )
|
| |
+
|
| |
+ set_target_properties( zypp-tui PROPERTIES COMPILE_FLAGS "-ffat-lto-objects")
|
| |
This ensures that the libzypp-tui library is set up like a regular
library, such that the actual library has a soversion for zypper
to link against, rather than using the unversioned library name
that causes the development packages to be installed at runtime.