[gtk-doc] scangobj: use EXEEXT to make the scanner work on platforms such as windows
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] scangobj: use EXEEXT to make the scanner work on platforms such as windows
- Date: Fri, 7 Feb 2014 22:35:25 +0000 (UTC)
commit 02401d7c7c5eb75778d3345de18159811e254dd3
Author: Stefan Sauer <ensonic users sf net>
Date: Fri Feb 7 23:24:53 2014 +0100
scangobj: use EXEEXT to make the scanner work on platforms such as windows
gtkdoc-scangobj.in | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtkdoc-scangobj.in b/gtkdoc-scangobj.in
index d0e8b7c..b4b17a7 100644
--- a/gtkdoc-scangobj.in
+++ b/gtkdoc-scangobj.in
@@ -1399,16 +1399,16 @@ system("($command)") == 0 or die "Compilation of scanner failed: $!\n";
# Linking scanner
# FIXME: Can we turn off as-needed for the docs (or better fix it?)
-#$command = "$LD -Wl,--no-as-needed $o_file $LDFLAGS -o $MODULE-scan";
-$command = "$LD $stdout $o_file $LDFLAGS -o $MODULE-scan";
+#$command = "$LD -Wl,--no-as-needed $o_file $LDFLAGS -o $MODULE-scan EXEEXT@";
+$command = "$LD $stdout $o_file $LDFLAGS -o $MODULE-scan EXEEXT@";
system("($command)") == 0 or die "Linking of scanner failed: $!\n";
# Running scanner $MODULE-scan ";
-system("($RUN ./$MODULE-scan)") == 0 or die "Scan failed: $!\n";
+system("($RUN ./$MODULE-scan EXEEXT@)") == 0 or die "Scan failed: $!\n";
if (!defined($ENV{"GTK_DOC_KEEP_INTERMEDIATE"})) {
- unlink "./$MODULE-scan.c", "./$MODULE-scan.o", "./$MODULE-scan.lo", "./$MODULE-scan";
+ unlink "./$MODULE-scan.c", "./$MODULE-scan.o", "./$MODULE-scan.lo", "./$MODULE-scan EXEEXT@";
}
&UpdateFileIfChanged ($old_signals_filename, $new_signals_filename, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]