summaryrefslogtreecommitdiff
blob: 98576f5c9f8bb6855ebabe28044f368a342c1d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -ru confix-9999.orig/libconfix/plugins/automake/makefile_am.py confix-9999/libconfix/plugins/automake/makefile_am.py
--- confix-9999.orig/libconfix/plugins/automake/makefile_am.py	2009-10-30 13:20:42.106291175 +0100
+++ confix-9999/libconfix/plugins/automake/makefile_am.py	2009-10-30 13:23:39.562354663 +0100
@@ -472,7 +472,15 @@
         
         # register automatic tests and set their environment
 
-        tests = self.dir_primary('check', 'PROGRAMS') + \
+        test_tmp = self.dir_primary('check', 'PROGRAMS')
+        count = 0
+        for prog in test_tmp:
+            prog += "$(EXEEXT)"
+            test_tmp[count] = prog
+            count += 1
+            pass
+
+        tests = test_tmp + \
                 self.dir_primary('check', 'SCRIPTS')
         if len(tests):
             lines.extend(makefile.List(name='TESTS', values=tests, mitigate=True).lines())