Skip to content

pkg-config/sdl-config -mwindows flag prevents applications to log on console #629

Description

@SDLBugzilla

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 1.2.14
Reported for operating system, platform: Windows (All), All

Comments on the original bug report:

On 2011-06-24 02:45:25 +0000, wrote:

The generated pkg-config/sdl-config flags contain the -mwindows flag, which prevents applications compiled with that flag to print on stderr/stdout.

Removing the flag allows them to log on console.

This happens for example when compiling FFmpeg in MinGW.

I suggest to remove the -mwindows from the generated flags, applications may choose to add them when it makes sense, that should be easier that filter-out the flag. Removing the flag doesn't seem to have collateral effects, at least for FFmpeg (and I really don't know the reason why that flag was added in the first place).

Let me know if you need more information.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions