diff options
Diffstat (limited to 'meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch')
-rw-r--r-- | meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch b/meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch index 0da196f5be..a7d3fbe50c 100644 --- a/meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch +++ b/meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch | |||
@@ -42,8 +42,8 @@ Index: git/src/CMakeLists.txt | |||
42 | TARGET_LINK_LIBRARIES( zypper_lib ${ZYPP_LIBRARY} ${READLINE_LIBRARY} -laugeas ${AUGEAS_LIBRARY} ) | 42 | TARGET_LINK_LIBRARIES( zypper_lib ${ZYPP_LIBRARY} ${READLINE_LIBRARY} -laugeas ${AUGEAS_LIBRARY} ) |
43 | 43 | ||
44 | ADD_EXECUTABLE( zypper main.cc ) | 44 | ADD_EXECUTABLE( zypper main.cc ) |
45 | -TARGET_LINK_LIBRARIES( zypper zypper_lib ${ZYPP_LIBRARY} ${READLINE_LIBRARY} -laugeas ${AUGEAS_LIBRARY} ) | 45 | -TARGET_LINK_LIBRARIES( zypper zypper_lib ${ZYPP_LIBRARY} ${READLINE_LIBRARY} -laugeas ${AUGEAS_LIBRARY} -lrt ) |
46 | +TARGET_LINK_LIBRARIES( zypper zypper_lib ${ZYPP_LIBRARY} ${READLINE_LIBRARY} -laugeas ${AUGEAS_LIBRARY} pthread rt ) | 46 | +TARGET_LINK_LIBRARIES( zypper zypper_lib ${ZYPP_LIBRARY} ${READLINE_LIBRARY} -laugeas ${AUGEAS_LIBRARY} -lrt -lpthread ) |
47 | 47 | ||
48 | 48 | ||
49 | INSTALL( | 49 | INSTALL( |
@@ -52,7 +52,7 @@ Index: git/src/CMakeLists.txt | |||
52 | # zypp-refresh utility | 52 | # zypp-refresh utility |
53 | ADD_EXECUTABLE( zypp-refresh zypp-refresh.cc ) | 53 | ADD_EXECUTABLE( zypp-refresh zypp-refresh.cc ) |
54 | -TARGET_LINK_LIBRARIES( zypp-refresh ${ZYPP_LIBRARY} ) | 54 | -TARGET_LINK_LIBRARIES( zypp-refresh ${ZYPP_LIBRARY} ) |
55 | +TARGET_LINK_LIBRARIES( zypp-refresh ${ZYPP_LIBRARY} pthread ) | 55 | +TARGET_LINK_LIBRARIES( zypp-refresh ${ZYPP_LIBRARY} -lpthread ) |
56 | INSTALL( | 56 | INSTALL( |
57 | TARGETS zypp-refresh | 57 | TARGETS zypp-refresh |
58 | RUNTIME DESTINATION ${INSTALL_PREFIX}/sbin | 58 | RUNTIME DESTINATION ${INSTALL_PREFIX}/sbin |