Added -mmacosx-version-min=10.5 to OS X linker flags to make builds compatible with 10.5 and greater.
Added -mmacosx-version-min=10.5 to OS X linker flags to make builds compatible with 10.5 and greater.
I can't believe I forgot to add this!
1.1 --- a/metamod/Makefile Thu Sep 05 19:50:27 2013 -0500
1.2 +++ b/metamod/Makefile Thu Sep 26 15:06:51 2013 -0500
1.3 @@ -310,7 +310,7 @@
1.4
1.5 # darwin .dylib compile commands
1.6 DO_CC_DARWIN=$(CC) $(CFLAGS) $(INCLUDEDIRS) -o $@ -c $< $(FILTER)
1.7 -LINK_DARWIN=$(CC) $(CFLAGS) -dynamiclib -ldl -lm -lstdc++ $(EXTRA_LINK) $(OBJ_DARWIN) -o $@
1.8 +LINK_DARWIN=$(CC) $(CFLAGS) -dynamiclib -ldl -lm -lstdc++ -mmacosx-version-min=10.5 $(EXTRA_LINK) $(OBJ_DARWIN) -o $@
1.9
1.10 # sort by date
1.11 ifeq "$(OS)" "Darwin"