diff options
-rw-r--r-- | debian/libdpdk.pc.in | 2 | ||||
-rwxr-xr-x | debian/rules | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/libdpdk.pc.in b/debian/libdpdk.pc.in index eff4f18e..fbd14aee 100644 --- a/debian/libdpdk.pc.in +++ b/debian/libdpdk.pc.in @@ -1,6 +1,6 @@ prefix=/usr exec_prefix=${prefix} -libdir=${prefix}/lib +libdir=@LIBDIR@ includedir=${prefix}/include Name: dpdk diff --git a/debian/rules b/debian/rules index 1fc7bbdb..2b7db757 100755 --- a/debian/rules +++ b/debian/rules @@ -258,6 +258,7 @@ override_dh_auto_install-arch: LIBS=$$(sed -e 's/GROUP ( \(.*\) )/\1/' -e 's/lib/-l/g' -e 's/\.so//g' \ $(CURDIR)/debian/libdpdk-dev/$(LIBDIR)/libdpdk.so); \ sed -e "s/@DPDK_LIBS@/$${LIBS}/" -e "s/@VERSION@/$(VERSION)/" \ + -e "s|@LIBDIR@|$(LIBDIR)|" \ debian/libdpdk.pc.in > debian/libdpdk-dev/$(LIBDIR)/pkgconfig/libdpdk.pc # Package: dpdk-igb-uio-dkms mkdir -p debian/dpdk-igb-uio-dkms/usr/src/dpdk-igb-uio-$(VERSION) |