2
0
Эх сурвалжийг харах

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

git-svn-id: trunk@36856 -
pierre 8 жил өмнө
parent
commit
527d2dea4f

+ 3 - 0
compiler/Makefile

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

+ 5 - 0
compiler/Makefile.fpc

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