summaryrefslogtreecommitdiff
path: root/package/flex/patches/patch-src_Makefile_am
blob: f3c194f18b3ce700f4aaa57c71eb65546d29e534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Naur flex-2.6.2.orig/src/Makefile.am flex-2.6.2/src/Makefile.am
--- flex-2.6.2.orig/src/Makefile.am	2016-11-17 10:01:21.562334589 +0100
+++ flex-2.6.2/src/Makefile.am	2016-11-17 09:21:48.766889968 +0100
@@ -54,7 +54,7 @@
 	version.h \
 	yylex.c
 
-LDADD = ../lib/libcompat.la @LIBINTL@
+LDADD = ../lib/libcompat.la
 
 libfl_la_SOURCES = \
 	libmain.c \
@@ -90,7 +90,7 @@
 	mv $@.tmp $@
 
 stage1scan.c: scan.l stage1flex$(EXEEXT)
-	./stage1flex$(EXEEXT) -o $@ $<
+	$(STAGE1FLEX) -o $@ $<
 
 # make needs to be told to make parse.h so that parallelized runs will
 # not fail.