tAdded --enable-plugins configure option to control whether to build plugins or to statically link them in; separated LDFLAGS for each plugin so that (e.g.) the ESD plugin does not get linked against SDL. - vaccinewars - be a doctor and try to vaccinate the world (HTM) git clone git://src.adamsgaard.dk/vaccinewars (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit d283d105e45194c73160a7e1ec0175fc3c4138fe (DIR) parent 435c2d68127fc395be5597259a5a17679fc5f8c8 (HTM) Author: Ben Webb <ben@salilab.org> Date: Mon, 13 May 2002 15:54:44 +0000 Added --enable-plugins configure option to control whether to build plugins or to statically link them in; separated LDFLAGS for each plugin so that (e.g.) the ESD plugin does not get linked against SDL. Diffstat: M src/plugins/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- (DIR) diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am t@@ -1,6 +1,8 @@ lib_LTLIBRARIES = libsound_esd.la libsound_sdl.la libsound_winmm.la libsound_esd_la_SOURCES = sound_esd.c sound_esd.h +libsound_esd_la_LDFLAGS = @ESD_LIBS@ libsound_sdl_la_SOURCES = sound_sdl.c sound_sdl.h +libsound_sdl_la_LDFLAGS = @SDL_LIBS@ libsound_winmm_la_SOURCES = sound_winmm.c sound_winmm.h -LIBS = @SOUND_LIBS@ @GLIB_CFLAGS@ +LIBS = @GLIB_LIBS@ INCLUDES = @SOUND_CFLAGS@ @GLIB_CFLAGS@