]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Add EXEEXT to gendis
authorUlf Hermann <ulf.hermann@qt.io>
Thu, 20 Apr 2017 15:02:42 +0000 (17:02 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 26 Apr 2017 15:22:15 +0000 (17:22 +0200)
Otherwise the build will fail on systems that actually need file
extension for executables.

Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
libcpu/ChangeLog
libcpu/Makefile.am

index ec22dd2ee7be8dafd038a01811f5940b6d6f3b46..22bec9b35afc6ad3a0f1f8a1133399072938f963 100644 (file)
@@ -1,5 +1,9 @@
 2017-04-20  Ulf Hermann <ulf.hermann@qt.io>
 
+       * Makefile.am: Add EXEEXT to gendis.
+
+2017-04-20  Ulf Hermann  <ulf.hermann@qt.io>
+
        * i386_parse.y: Eliminate comparison_fn_t.
 
 2016-11-02  Mark Wielaard  <mjw@redhat.com>
index b98b5838183af14e458b526510c45a5c4920894e..31fc906b0800713866b2dcc8b0681b7a0232707a 100644 (file)
@@ -58,10 +58,10 @@ endif
 if MAINTAINER_MODE
 noinst_HEADERS = memory-access.h i386_parse.h i386_data.h
 
-noinst_PROGRAMS = i386_gendis
+noinst_PROGRAMS = i386_gendis$(EXEEXT)
 
-$(srcdir)/%_dis.h: %_defs i386_gendis
-       $(AM_V_GEN)./i386_gendis $< > $@T
+$(srcdir)/%_dis.h: %_defs i386_gendis$(EXEEXT)
+       $(AM_V_GEN)./i386_gendis$(EXEEXT) $< > $@T
        $(AM_V_at)mv -f $@T $@
 
 else