mingw-cross-env-list
[Top][All Lists]
Advanced

[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: Safety0ff
Subject: Re: [Mingw-cross-env-list] Issues linking with static openal and SDL
Date: Wed, 09 Mar 2011 14:44:33 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

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.

-Safety0ff



reply via email to

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