]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libmodplug/004-export-pkgconfig.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libmodplug / 004-export-pkgconfig.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 468f1a3..8e94458 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -142,6 +142,8 @@ if(HAVE_SINF)
6 endif(HAVE_SINF)
7
8 if (NOT WIN32)
9 + set(UNIXLIBS "-lstdc++ -lm")
10 +endif (NOT WIN32)
11 set(prefix "${CMAKE_INSTALL_PREFIX}")
12 set(exec_prefix "${CMAKE_INSTALL_PREFIX}")
13 set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
14 @@ -152,4 +154,3 @@ if (NOT WIN32)
15 install(FILES "${PROJECT_BINARY_DIR}/libmodplug.pc"
16 DESTINATION lib/pkgconfig
17 )
18 -endif (NOT WIN32)
19 diff --git a/libmodplug.pc.in b/libmodplug.pc.in
20 index bbf05f9..1699d76 100644
21 --- a/libmodplug.pc.in
22 +++ b/libmodplug.pc.in
23 @@ -8,5 +8,5 @@ Description: The ModPlug mod file playing library.
24 Version: @VERSION@
25 Requires:
26 Libs: -L${libdir} -lmodplug
27 -Libs.private: -lstdc++ -lm
28 +Libs.private: @UNIXLIBS@
29 Cflags: -I${includedir}
30