summaryrefslogtreecommitdiff
path: root/package/flex/patches/patch-src_Makefile_am
blob: 026807c9a7416e6c1f0e333a5857f3f8544ca759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- flex-2.6.1.orig/src/Makefile.am	2016-02-27 14:53:59.000000000 +0100
+++ flex-2.6.1/src/Makefile.am	2016-06-21 00:33:09.061676013 +0200
@@ -41,7 +41,7 @@ COMMON_SOURCES = \
 	tblcmp.c \
 	yylex.c
 
-LDADD = ../lib/libcompat.la @LIBINTL@
+LDADD = ../lib/libcompat.la
 
 libfl_la_SOURCES = \
 	libmain.c \
@@ -90,7 +90,7 @@ stage1scan.l: scan.l
 	cp $(srcdir)/scan.l $(srcdir)/stage1scan.l
 
 stage1scan.c: stage1scan.l stage1flex$(EXEEXT)
-	$(top_builddir)/src/stage1flex$(EXEEXT) -o $@ $<
+	$(STAGE1FLEX) -o $@ $<
 
 # Explicitly describe dependencies.
 # You can recreate this with `gcc -I. -MM *.c'