]> granicus.if.org Git - file/commitdiff
Add EXEEXT, from joerg jenderek
authorChristos Zoulas <christos@zoulas.com>
Tue, 2 Apr 2013 16:25:04 +0000 (16:25 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 2 Apr 2013 16:25:04 +0000 (16:25 +0000)
magic/Makefile.am

index 6a587c74188118be9e15cf5a3a6463c1f2f98788..c055576758c8b67ce573edaff6e6fd09e51d879d 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $File: Makefile.am,v 1.89 2013/02/18 18:31:09 christos Exp $
+# $File: Makefile.am,v 1.90 2013/04/02 16:25:04 christos Exp $
 #
 MAGIC_FRAGMENT_BASE = Magdir
 MAGIC_DIR = $(top_srcdir)/magic
@@ -264,10 +264,10 @@ CLEANFILES = ${MAGIC} $(MAGIC_FRAGMENT_DIR)/Localstuff
 # FIXME: Build file natively as well so that it can be used to compile
 # the target's magic file; for now we bail if the local version does not match
 if IS_CROSS_COMPILE
-FILE_COMPILE = file
+FILE_COMPILE = file${EXEEXT}
 FILE_COMPILE_DEP =
 else
-FILE_COMPILE = $(top_builddir)/src/file
+FILE_COMPILE = $(top_builddir)/src/file${EXEEXT}
 FILE_COMPILE_DEP = $(FILE_COMPILE)
 endif