Re: [PATCH alsa-lib] utils/alsa.m4: conditionally enable libdl in AM_PATH_ALSA m4 macro

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

 



On Thu, 01 Nov 2018 15:40:07 +0100,
Thomas Petazzoni wrote:
> 
> From: Thomas De Schampheleire <thomas.de.schampheleire@xxxxxxxxx>
> 
> The AM_PATH_ALSA macro in utils/alsa.m4 unconditionally uses
> -ldl. This breaks compilation of alsa-utils (and probably other
> packages using this macro) for targets that do not support dynamic
> loading.
> 
> This patch updates the macro to check if dlopen is available, and use
> that result to conditionally add -ldl to the list of libraries.
> 
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@xxxxxxxxx>
> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx>

Applied, thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux