patch-jruby-launcher_Makefile 807 B

1234567891011121314151617181920
  1. $OpenBSD: patch-jruby-launcher_Makefile,v 1.1 2017/03/08 16:32:26 jeremy Exp $
  2. Use c++ instead of g++.
  3. --- jruby-launcher/Makefile.orig Mon Mar 6 09:39:32 2017
  4. +++ jruby-launcher/Makefile Mon Mar 6 09:40:32 2017
  5. @@ -28,10 +28,10 @@ jruby.res: resources/jruby.rc
  6. windres $^ -O coff -o $@
  7. jruby.exe: jrubyexe.cpp nbexecloader.h utilsfuncs.cpp utilsfuncswin.cpp jruby.res
  8. - g++ $(CXXFLAGS) $^ -s -o $@ $(LDLIBSOPTIONS) -static
  9. + c++ $(CXXFLAGS) $^ -s -o $@ $(LDLIBSOPTIONS) -static
  10. jrubyw.exe: jrubyexe.cpp nbexecloader.h utilsfuncs.cpp utilsfuncswin.cpp jruby.res
  11. - g++ $(CXXFLAGS) -DJRUBYW -mwindows $^ -s -o $@ $(LDLIBSOPTIONS) -static
  12. + c++ $(CXXFLAGS) -DJRUBYW -mwindows $^ -s -o $@ $(LDLIBSOPTIONS) -static
  13. install:
  14. @if [ ! -f ./jruby ]; then echo "Please run 'make' first."; exit 1; fi