- added link patch (so that as-needed in LDFLAGS actually works)
[packages/SDL_mixer.git] / SDL_mixer-link.patch
CommitLineData
b86347fe
JB
1--- SDL_mixer-1.2.12/Makefile.in.orig 2012-01-15 23:01:04.000000000 +0100
2+++ SDL_mixer-1.2.12/Makefile.in 2017-12-17 14:57:47.886631222 +0100
3@@ -63,13 +63,13 @@
4 .PHONY: all install install-hdrs install-lib install-bin uninstall uninstall-hdrs uninstall-lib uninstall-bin clean distclean dist
5
6 $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
7- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
8+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
9
10 $(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET)
11- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
12+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
13
14 $(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET)
15- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
16+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
17
18 install: all install-hdrs install-lib #install-bin
19 install-hdrs:
This page took 0.081553 seconds and 4 git commands to generate.