On Fri, 25 Aug 2017, JonY via Mingw-w64-public wrote:

On 08/25/2017 11:53 AM, Martin Storsjö wrote:
Use the lib64 version of the def file for this - nothing in the
def file seems like it would be architecture specific.

CMake has some linking tests where it by default links a number of
"standard libraries", and -lwinspool are among them. Make sure
this library at least exists, in order not to fail such tests
pointlessly.

Signed-off-by: Martin Storsjö <mar...@martin.st>

Patch OK, I don't know if this would be a bad idea long term.

I guess the main risk is building projects where a configure script checks whether functions/libraries are available, and would conclude that "yes, we can link to and use functions from winspool on this platform, let's do that", even though they might not exist. But being able to execute cmake build checks correctly probably is a bigger gain than the risk of this, so let's go for this until someone lets us know of a problem with it.

// Martin
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to