liburcu: install pkgconfig files 12711/head
authorRosen Penev <rosenp@gmail.com>
Sat, 4 Jul 2020 02:49:45 +0000 (19:49 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 4 Jul 2020 02:49:45 +0000 (19:49 -0700)
Newer versions of lttng* need these.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/liburcu/Makefile

index 6665b87f008b69417081c5e6c0952b6cff906827..73f28f117bfd13d4e5a0752babdb851154279f76 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=liburcu
 PKG_VERSION:=0.12.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_MAINTAINER:=Daniel Salzman <daniel.salzman@nic.cz>
 PKG_LICENSE:=LGPL-2.1-or-later GPL-2.0-or-later MIT
@@ -45,6 +45,8 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/urcu*              $(1)/usr/include/
        $(INSTALL_DIR)                                          $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liburcu*.{a,so*}       $(1)/usr/lib/
+       $(INSTALL_DIR)                                          $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc         $(1)/usr/lib/pkgconfig/
 endef
 endif