RE: [PATCH 1/1] udev/pkgconfig: fix exec_prefix to be generated from @exec_prefix@

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux