浏览代码

Set EXEEXT to SRCEXEEXT if NoNativeBinaries is set (allow snapshot of jvm-java on linux)

git-svn-id: trunk@36856 -
pierre 8 年之前
父节点
当前提交
527d2dea4f
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 3 0
      compiler/Makefile
  2. 5 0
      compiler/Makefile.fpc

+ 3 - 0
compiler/Makefile

@@ -572,6 +572,9 @@ endif
 ifeq ($(OS_TARGET),win16)
 ifeq ($(OS_TARGET),win16)
 NoNativeBinaries=1
 NoNativeBinaries=1
 endif
 endif
+ifeq ($(NoNativeBinaries),1)
+override EXEEXT=$(SRCEXEEXT)
+endif
 ifeq ($(FULL_TARGET),i386-linux)
 ifeq ($(FULL_TARGET),i386-linux)
 override TARGET_DIRS+=utils
 override TARGET_DIRS+=utils
 endif
 endif

+ 5 - 0
compiler/Makefile.fpc

@@ -349,6 +349,11 @@ ifeq ($(OS_TARGET),win16)
 NoNativeBinaries=1
 NoNativeBinaries=1
 endif
 endif
 
 
+# Allow install for jvm 
+ifeq ($(NoNativeBinaries),1)
+override EXEEXT=$(SRCEXEEXT)
+endif
+
 [rules]
 [rules]
 #####################################################################
 #####################################################################
 # Setup Targets
 # Setup Targets