Call libpostal_data in source path, not build path
This fix updates Makefile to find the actual libpostal_data file when `configure` is called from another directory, which it uses as the build directory.
This commit is contained in:
@@ -60,7 +60,7 @@ language_classifier_test_CFLAGS = $(CFLAGS_O3)
|
|||||||
pkginclude_HEADERS = libpostal.h
|
pkginclude_HEADERS = libpostal.h
|
||||||
|
|
||||||
all-local:
|
all-local:
|
||||||
./libpostal_data download all $(datadir)/libpostal
|
${srcdir}/libpostal_data download all $(datadir)/libpostal
|
||||||
|
|
||||||
lexer: scanner.re
|
lexer: scanner.re
|
||||||
re2c -F -s -b -8 -o scanner.c scanner.re
|
re2c -F -s -b -8 -o scanner.c scanner.re
|
||||||
|
|||||||
Reference in New Issue
Block a user