Package: udev
Version: 0.105-3
Tags: patch

The current .pc file has a wrong libdir (/lib), it should be /usr/lib
as there is where the .so file is located. This makes pkg-config to
not trim the -L argument which is problematic at least on sbox.
---
 extras/volume_id/lib/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile
index 5ad9f2e..eacdba0 100644
--- a/extras/volume_id/lib/Makefile
+++ b/extras/volume_id/lib/Makefile
@@ -91,7 +91,7 @@ $(SHLIB): $(HEADERS) .shlib $(addprefix .shlib/,$(OBJS))
 libvolume_id.pc:
 	$(E) "  GENPC   " $@
 	$(Q) echo "prefix=${prefix}" > $@
-	$(Q) echo "libdir=${libdir}" >> $@
+	$(Q) echo "libdir=${usrlibdir}" >> $@
 	$(Q) echo "includedir=${includedir}" >> $@
 	$(Q) echo "" >> $@
 	$(Q) echo "Name: libvolume_id" >> $@

Reply via email to