Skip to content

More external_deps build fixes #1642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

slipher
Copy link
Member

@slipher slipher commented Apr 10, 2025

The 6 issues fixed here are present both in master, and with #1433.

slipher added 9 commits April 22, 2025 06:31
There was a stray pkgconfig in the list of required packages for one of
the Windows platforms. pkgconfig only makes sense as a host-mode
dependency. Also it crashes the compiler.
The build script for mingw sdl2 uses prebuilt binaries, but calls a
makefile which only substitutes some hard-coded paths into some build
config helpers and copies the files. Just copy the files ourselves and
don't munge the configs: the unmunged cmake uses a relative path
which is actually what we want. In newer SDL versions the makefile munges the
cmake configs (in addition to the shell-based one) which breaks us.
In the cmake config files in lib/cmake, substitute .dll.a -> .lib
when targeting MSVC.
We don't want the DLLs we build to depend on the MinGW standard library
DLLs.
Building glew for windows-i686-mingw resulted in a link error about
undefined strlen. This happend because setting CFLAGS.EXTRA on the Make
command line clobbers some required flags. Pass the flags in a different
way so they append rather than clobbering.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant