Core: fix makefile for generating errors.h in out of source dir build
* lasso/Makefile.am: errors.h is expected to be in srcdir not builddir.
This commit is contained in:
parent
a97feba422
commit
b8475305e4
|
@ -84,7 +84,7 @@ liblasso_la_LDFLAGS = -no-undefined -version-info @LASSO_VERSION_INFO@ \
|
|||
-export-symbols symbols.sym
|
||||
endif
|
||||
|
||||
errors.c: errors.h
|
||||
errors.c: $(srcdir)/errors.h
|
||||
python $(srcdir)/build_strerror.py $(srcdir) >$(srcdir)/.errors.c.new
|
||||
if ! cmp -s $(srcdir)/errors.c $(srcdir)/.errors.c.new; then \
|
||||
mv -f $(srcdir)/.errors.c.new $(srcdir)/errors.c; else \
|
||||
|
|
Loading…
Reference in New Issue