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 5043 - All of --disable-sdlframework --disable-sdltest --disable-freetypetest will still compile showfont with -lSDL2 -lfreetype
Summary: All of --disable-sdlframework --disable-sdltest --disable-freetypetest will s...
Status: NEW
Alias: None
Product: SDL_ttf
Classification: Unclassified
Component: misc (show other bugs)
Version: 2.0.15
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-18 02:49 UTC by Ellie
Modified: 2020-03-18 11:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ellie 2020-03-18 02:49:01 UTC
All of --disable-sdlframework --disable-sdltest --disable-freetypetest will still compile "showfont" (whatever that is) when attempting to compile libSDL2_ttf, and it'll break if no SDL2 and/or freetype are found system-wide. I am struggling to get cross-compiling to work due to this, and I really don't need this showfont tool.

It would be very helpful for cross-compiling if this could be addressed with either an additional --really-dont-try-to-ever-link-sdl option, or a fix for --disable-sdltest --disable-freetypetest if they were meant to suppress this.
Comment 1 Ellie 2020-03-18 11:22:38 UTC
For anyone who runs into this problem as well and needs a quick workaround, this worked for me:

sed -i 's/noinst_PROGRAMS =.*//g' "./Makefile.am"


(This disables compiling all the test and extra programs, kind of what I expected --disable-sdltest to do.)