On Tue, 2008-01-08 at 18:17 +0000, Neil Williams wrote: > When cross building packages depending on libvolume-id, pkgconfig fails > to parse the pc file generated by udev because the exec_prefix value is > not defined: > > $ pkg-config /usr/arm-linux-gnu/lib/pkgconfig/libvolume_id.pc --libs > libvolume_id > Variable 'exec_prefix' not defined in > '/usr/arm-linux-gnu/lib/pkgconfig/libvolume_id.pc'
> The pc file is missing the first two lines: > prefix= > exec_prefix= > > The values for the missing variables are not particularly important, but > pkg-config does require that the variables are specified so that it can > work out how to calculate dependencies during the cross build. Short > circuiting this step by hardcoding the value for libdir as /usr/lib > prevents pkg-config from converting libdir to be /usr/arm-linux-gnu/lib > etc. when cross compiling. > > The attached patch adds dummy values to the pc file which allow > pkg-config to operate correctly: Applied. Thanks, Kay -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]