From 116f7b3a5799c274d07545e31f57ec7b715fe172 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Fri, 17 Apr 2020 00:04:09 -0700 Subject: [PATCH] Install libx52.pc during make install --- configure.ac | 1 + lib/libx52/Makefile.am | 3 +++ 2 files changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index cee7548..c791721 100644 --- a/configure.ac +++ b/configure.ac @@ -13,6 +13,7 @@ AM_PROG_AR AM_PATH_PYTHON([2.6]) LT_INIT PKG_PROG_PKG_CONFIG +PKG_INSTALLDIR # Check for libusb-1.0 AX_PKG_CHECK_MODULES([LIBUSB], [libusb-1.0]) diff --git a/lib/libx52/Makefile.am b/lib/libx52/Makefile.am index 3fee845..9d905a7 100644 --- a/lib/libx52/Makefile.am +++ b/lib/libx52/Makefile.am @@ -19,5 +19,8 @@ libx52_la_LDFLAGS = -version-info 3:0:1 @LIBUSB_LIBS@ x52includedir = $(includedir)/x52pro x52include_HEADERS = libx52.h +# pkg-config files +pkgconfig_DATA = libx52.pc + # Extra files that need to be in the distribution EXTRA_DIST = libx52.h x52_commands.h x52_common.h x52_hotplug.h README.md