We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3197 - CMake emscripten fix [Patch]
Summary: CMake emscripten fix [Patch]
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 19:05 UTC by Martin Gerhardy
Modified: 2015-12-29 05:49 UTC (History)
1 user (show)

See Also:


Attachments
the fix (435 bytes, patch)
2015-12-03 19:05 UTC, Martin Gerhardy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gerhardy 2015-12-03 19:05:26 UTC
Created attachment 2325 [details]
the fix

one location was missed to reset the CMAKE_REQUIRED_FLAGS to ORIG_CMAKE_REQUIRED_FLAGS. emscripten found every function because unresolved symbols were not reported with this missing.
Comment 1 Ryan C. Gordon 2015-12-29 05:49:19 UTC
This patch is now https://hg.libsdl.org/SDL/rev/a443c97eb294, thanks!

--ryan.