[Top][All Lists]

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

Re: [Mingw-cross-env-list] Issues linking with static openal and SDL

From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Issues linking with static openal and SDL
Date: Sun, 13 Mar 2011 17:25:51 +1100

On 10 March 2011 06:44, Safety0ff <address@hidden> wrote:
> On 11-03-09 11:03 AM, Tony Theodore wrote:
>> So it seems to be cmake 2.6 not passing along the required libs. Adding
>> -DEXTRA_LIBS='-luuid'
>> to the cmake options allows the build to succeed, but I don't know
>> enough about cmake to know if this is the right way to do it or if we
>> should patch the CMakeLists.txt file.
>> Cheers,
>> Tony
> Then consider adjusting this patch:
> http://hg.savannah.gnu.org/hgweb/mingw-cross-env/file/7645b9be346c/src/openal-1-luuid-pkg-config.patch
> (and not the static lib one).
> As you can see PKG_CONFIG_LIBS will contain "-luuid" but EXTRA_LIBS, which
> is used for building the library and the utilities (e.g. openal-info.exe),
> will not.

Okay, I added it to the patch file and it works on Debian Lenny and
OSX. Is it worth checking in? It only seems to affect older versions
of cmake.



Attachment: openal-1-luuid-pkg-config.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]