Skip to content

Commit

Permalink
Date: Wed, 04 Aug 2004 02:55:32 +0200
Browse files Browse the repository at this point in the history
From: Josselin Mouette
Subject: SDL_Mixer and MikMod

I've been told SDL_mixer is responsible for namespace pollution. The
case is an application that links to both mikmod and SDL_mixer.
SDL_mixer unnecessarily exports the mikmod symbols, creating confusion
at linking stage.

I've just tested the following fix for Makefile.am. It allows to export
only the documented symbols of SDL_mixer.
  • Loading branch information
slouken committed Aug 20, 2004
1 parent 9f1644f commit 077d7fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Expand Up @@ -62,7 +62,8 @@ EXTRA_DIST = \
libSDL_mixer_la_LDFLAGS = \
-no-undefined \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-export-symbols-regex Mix_.*
libSDL_mixer_la_LIBADD = $(MIKMOD_LIB) $(TIMIDITY_LIB) $(NATIVE_MIDI_LIB) @SYSTEM_LIBS@ @SDL_LIBS@

noinst_PROGRAMS = playwave playmus
Expand Down

0 comments on commit 077d7fd

Please sign in to comment.