completion-helper: Append $(EXEEXT) to the name of the moved file.
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Mon, 23 Feb 2015 18:10:08 +0000 (19:10 +0100)
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Mon, 23 Feb 2015 18:11:32 +0000 (19:11 +0100)
Fixes the build on Windows
(https://ci.gstreamer.net/job/cerbero-cross-mingw32/1742/console)

libs/gst/helpers/Makefile.am

index 25e9553..0c3771b 100644 (file)
@@ -10,8 +10,8 @@ dist_bashhelpers_DATA = gst
 
 install-data-hook:
        cd $(DESTDIR)$(bindir) && \
-       mv gst-completion-helper-@GST_API_VERSION@ $(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@
-       chmod 755 $(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@
+       mv gst-completion-helper-@GST_API_VERSION@$(EXEEXT) $(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@$(EXEEXT)
+       chmod 755 $(BASH_HELPERS_DIR)/gst-completion-helper-@GST_API_VERSION@$(EXEEXT)
 endif
 
 helpers_PROGRAMS = gst-plugin-scanner