Re: [PATCH] libmount/buildsys: move SELINUX_LIBS to LDFLAGS

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

 



Version: 2.25-1

Hello Mike!

Thank you very much for the followup and for identifying the relevant
commit for me!
(BCCing the debian bug tracking system to close the bug report...)

On Mon, Aug 04, 2014 at 03:40:56AM -0400, Mike Frysinger wrote:
[...]
> the problem is that libmount_la_DEPENDENCIES shows up in the Makefile like:
> libmount.la: ... $(libmount_la_DEPENDENCIES) ...
> 
> which means make evaluates it like so:
> libmount.la: ... -lselinux -lsepol ...
> 
> which triggers the builtin library path searching of make itself:
> https://www.gnu.org/software/make/manual/make.html#Libraries_002fSearch
> 
> which means it'll rewrite -lselinux into /usr/lib/libselinux.so (if it can 
> find it) which is bad for multilib and cross-compiling.
> 
> the easy answer is to not add LIBADD to DEPENDENCIES.  which has been done 
> already -- see dbf7043ea1d090d283cfd36280bb14189d8e35b1.
> 
[...]


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




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux