Explorar o código

remove CMAKE_THREAD_LIBS_INIT from pkgconfig CFLAGS

This is a linker flag and does not belong in CFLAGS.

Fixes an issue with ola and protobuf.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev %!s(int64=4) %!d(string=hai) anos
pai
achega
cb8ca280cd
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      cmake/protobuf-lite.pc.cmake
  2. 1 1
      cmake/protobuf.pc.cmake

+ 1 - 1
cmake/protobuf-lite.pc.cmake

@@ -7,5 +7,5 @@ Name: Protocol Buffers
 Description: Google's Data Interchange Format
 Version: @protobuf_VERSION@
 Libs: -L${libdir} -lprotobuf-lite @CMAKE_THREAD_LIBS_INIT@
-Cflags: -I${includedir} @CMAKE_THREAD_LIBS_INIT@
+Cflags: -I${includedir}
 Conflicts: protobuf

+ 1 - 1
cmake/protobuf.pc.cmake

@@ -7,5 +7,5 @@ Name: Protocol Buffers
 Description: Google's Data Interchange Format
 Version: @protobuf_VERSION@
 Libs: -L${libdir} -lprotobuf @CMAKE_THREAD_LIBS_INIT@
-Cflags: -I${includedir} @CMAKE_THREAD_LIBS_INIT@
+Cflags: -I${includedir}
 Conflicts: protobuf-lite