/[smecontribs]/rpms/libevhtp/contribs9/libevhtp-1.2.11-soname-and-pkgconfig.patch
ViewVC logotype

Contents of /rpms/libevhtp/contribs9/libevhtp-1.2.11-soname-and-pkgconfig.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Feb 20 02:29:57 2018 UTC (6 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: libevhtp-1_2_11n-3_el6_sme, libevhtp-1_2_11n-4_el6_sme, HEAD
Error occurred while calculating annotation data.
*** empty log message ***

1 diff -Nru a/CMakeLists.txt b/CMakeLists.txt
2 --- a/CMakeLists.txt 2015-11-26 23:03:52.000000000 +0100
3 +++ b/CMakeLists.txt 2016-05-07 17:14:06.000000000 +0200
4 @@ -301,7 +301,7 @@
5 target_link_libraries(evhtp ${LIBEVHTP_EXTERNAL_LIBS})
6
7 if (EVHTP_BUILD_SHARED)
8 - set_target_properties(evhtp PROPERTIES SOVERSION "${PROJECT_VERSION}")
9 + set_target_properties(evhtp PROPERTIES VERSION "${PROJECT_VERSION}" SOVERSION "${PROJECT_MAJOR_VERSION}")
10 endif()
11
12 add_subdirectory(tools)
13 @@ -344,7 +345,7 @@
14 ${CMAKE_CURRENT_BINARY_DIR}/evhtp.pc @ONLY)
15
16 install(FILES "${CMAKE_CURRENT_BINARY_DIR}/evhtp.pc"
17 - DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
18 + DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
19
20 # add_definitions() calls do not show up in the C_FLAGS var
21 # it is instead a property of COMPILE_DEFINITIONS.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed