Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Cross build (linux to windows) with Freetype #174

Answered by JetSetIlly
JetSetIlly asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed. It simply needs the "-static" flag in the CGO_LDFLAGS environment variable. I already had "-static-libgcc" and "-static-libstdc++" and this was sufficient for a static SDL compilation. But for freetype the additional flag is required.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@neclepsio
Comment options

@neclepsio
Comment options

@JetSetIlly
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by JetSetIlly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants