File `-lselinux' does not exist.
Dan Nicholson
dbn.lists at gmail.com
Sun Aug 16 17:05:31 PDT 2009
On Sun, Aug 16, 2009 at 4:52 PM, Dan Nicholson<dbn.lists at gmail.com> wrote:
> On Sun, Aug 16, 2009 at 2:11 PM, Justin Mattock<justinmattock at gmail.com> wrote:
>> I've been racking my brain on this for a few days
>> without any results.
>> I can compile the xserver normally, but as seen as I enable
>> selinux I get an error during compilation time.
>>
>> make -d shows this:
>>
>> No need to remake target `../../xkb/libxkb.la'.
>> Considering target file `-lselinux'.
>> File `-lselinux' does not exist.
>
> Try commenting the automake rule for libxorg_la_DEPENDENCIES in
> hw/xfree86/Makefile.am. The problem is that libxorg_la_DEPENDENCIES is
> defined as libxorg_la_LIBADD, which (rightly) includes -lselinux.
> However, DEPENDENCIES are used as make prerequisites, so make will try
> to find a file named "-lselinux". DEPENDENCIES and LIBADD need to be
> untangled so that external libraries don't appear as make prereqs.
Try this (untested) patch.
--
Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-external-prereqs.patch
Type: text/x-patch
Size: 1156 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090816/18321f41/attachment.bin>
More information about the xorg
mailing list