From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Date: Thu, 08 Jan 2009 03:20:40 +0000 Subject: RE: [PATCH 1/1] udev/pkgconfig: fix exec_prefix to be generated Message-Id: <1231384840.5298.11.camel@californication> List-Id: References: <1231369695-12478-1-git-send-email-inaky@linux.intel.com> In-Reply-To: <1231369695-12478-1-git-send-email-inaky@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi Inaky, > >> Otherwise paths where the libraries are to be found are out of sync. > > > >did you check the autogen.sh of udev. With programs living in the / > >directory (including their libraries) you have to do special things when > >installing them. Here is what udev uses: > > > >--prefix=/usr --exec-prefix= --sysconfdir=/etc --with-selinux > > > >And with that a "make install" words just fine. I have been using it > >since the last few month. > > Yeah, all that works ok -- my concern is more the generation of the .pc > file, as they are based off @exec_dir@ and in the pc.in template files, > exec_prefix is taken to be @prefix@, when that could not be the case. > > Am I missing anything here? these values are replace at runtime of configure and the end result looks like this: prefix=/usr exec_prefix=/usr libdir=/usr/lib includedir=/usr/include Name: libudev Description: Library to access udev device information Version: 136 Libs: -L${libdir} -ludev Libs.private: Cflags: -I${includedir} And that looks correct to me. What do you expect to happen? Regards Marcel