[PATCHv2 60/60] bluetooth: Revive module-bluetooth-discover

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

 



On Thu, Aug 22, 2013 at 1:09 PM, Tanu Kaskinen
<tanu.kaskinen at linux.intel.com> wrote:
> On Mon, 2013-08-19 at 12:54 +0300, Tanu Kaskinen wrote:
>> On Tue, 2013-08-13 at 01:54 -0300, jprvita at gmail.com wrote:
>> > +static bool exists(const char *filename) {
>> > +    const char *paths, *state = NULL;
>> > +    char *p, *pathname;
>> > +    bool result;
>> > +
>> > +    if (!(paths = lt_dlgetsearchpath()))
>>
>> undefined reference to `lt_dlgetsearchpath'
>>
>> Does this compile on your machine?
>
> Apparently this works on some machines and not on others. On my machine
> this is required to make the linking work:
>
> -module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD)
> +module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD) $(LIBLTDL)
>

After the creation of pa_module_exists() this comment doesn't hold
true anymore for module-bluetooth-discover.
libpulsecore_ at PA_MAJORMINOR@_la_LIBADD already includes $(LIBLTDL), so
I guess this should work fine.

-- 
Jo?o Paulo Rechi Vita
http://about.me/jprvita


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux