Browse Source

protobuf-c: Fix typo in pkgconfig file

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
546a603da6
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      libs/protobuf-c/Makefile
  2. +3
    -3
      libs/protobuf-c/patches/010-pkgconfig.patch

+ 1
- 1
libs/protobuf-c/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libprotobuf-c PKG_NAME:=libprotobuf-c
PKG_VERSION:=1.3.2 PKG_VERSION:=1.3.2
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=protobuf-c-$(PKG_VERSION).tar.gz PKG_SOURCE:=protobuf-c-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/protobuf-c/protobuf-c/releases/download/v$(PKG_VERSION) PKG_SOURCE_URL:=https://github.com/protobuf-c/protobuf-c/releases/download/v$(PKG_VERSION)


+ 3
- 3
libs/protobuf-c/patches/010-pkgconfig.patch View File

@ -15,14 +15,14 @@
INSTALL(CODE "EXECUTE_PROCESS (COMMAND ln -sf protoc-gen-c protoc-c WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin)") INSTALL(CODE "EXECUTE_PROCESS (COMMAND ln -sf protoc-gen-c protoc-c WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin)")
ENDIF() ENDIF()
+CONFIGURE_FILE ("libprotobufc.pc.in" "libprotobufc.pc" @ONLY)
+INSTALL (FILES "../libprotobufc.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+CONFIGURE_FILE ("libprotobuf-c.pc.in" "libprotobuf-c.pc" @ONLY)
+INSTALL (FILES "../libprotobuf-c.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+ +
INCLUDE(Dart) INCLUDE(Dart)
SET(DART_TESTING_TIMEOUT 5) SET(DART_TESTING_TIMEOUT 5)
--- /dev/null --- /dev/null
+++ b/build-cmake/libprotobufc.pc.in
+++ b/build-cmake/libprotobuf-c.pc.in
@@ -0,0 +1,14 @@ @@ -0,0 +1,14 @@
+prefix=@CMAKE_INSTALL_PREFIX@ +prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=@CMAKE_INSTALL_PREFIX@


Loading…
Cancel
Save