Bug#415744: udev: [PATCH] fix libvolume_id.pc libdir

2007-03-25 Thread Kay Sievers
On Wed, 2007-03-21 at 18:43 +0200, Guillem Jover wrote:
 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.

What do you mean? The .so file is in /lib(64), not in /usr, it's usually
needed for bootup, so it can never be in /usr.

Thanks,
Kay



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#415744: udev: [PATCH] fix libvolume_id.pc libdir

2007-03-25 Thread Marco d'Itri
On Mar 25, Kay Sievers [EMAIL PROTECTED] wrote:

 On Wed, 2007-03-21 at 18:43 +0200, Guillem Jover wrote:
  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.
 What do you mean? The .so file is in /lib(64), not in /usr, it's usually
 needed for bootup, so it can never be in /usr.

/lib/libvolume_id.so.0 - libvolume_id.so.0.75.0
/lib/libvolume_id.so.0.75.0
/usr/lib/libvolume_id.a
/usr/lib/libvolume_id.so - /lib/libvolume_id.so.0.75.0

The last symlink is only used by ld.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#415744: udev: [PATCH] fix libvolume_id.pc libdir

2007-03-21 Thread Guillem Jover
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  $@