mirror of https://github.com/snes9xgit/snes9x.git
Unix: obey LDFLAGS on linking
This commit is contained in:
parent
8edbeaaf9a
commit
359b906b69
|
@ -52,7 +52,7 @@ configure: configure.ac
|
|||
exit 1
|
||||
|
||||
snes9x: $(OBJECTS)
|
||||
$(CCC) $(INCLUDES) -o $@ $(OBJECTS) -lm @S9XLIBS@
|
||||
$(CCC) $(LDFLAGS) $(INCLUDES) -o $@ $(OBJECTS) -lm @S9XLIBS@
|
||||
|
||||
../jma/s9x-jma.o: ../jma/s9x-jma.cpp
|
||||
$(CCC) $(INCLUDES) -c $(CCFLAGS) -fexceptions $*.cpp -o $@
|
||||
|
|
|
@ -448,7 +448,7 @@ fi
|
|||
|
||||
# Output.
|
||||
|
||||
S9XFLGS="$CXXFLAGS $CPPFLAGS $LDFLAGS $S9XFLGS"
|
||||
S9XFLGS="$CXXFLAGS $CPPFLAGS $S9XFLGS"
|
||||
S9XLIBS="$LIBS $S9XLIBS"
|
||||
|
||||
S9XFLGS="`echo \"$S9XFLGS\" | sed -e 's/ */ /g'`"
|
||||
|
|
Loading…
Reference in New Issue