Commit 0027b072627aa9d3ada71c4374561966064ecd5a

M. Herdiansyah 2020-06-11T19:40:24

Makefile: increase compatibility with bmake (#551)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile.am b/Makefile.am
index 0e66ee9..8b4026c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -147,7 +147,7 @@ libffi_version_info = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
 
 libffi.map: $(top_srcdir)/libffi.map.in
 	$(COMPILE) -D$(TARGET) -DGENERATE_LIBFFI_MAP \
-	 -E -x assembler-with-cpp -o $@ $<
+	 -E -x assembler-with-cpp -o $@ $(top_srcdir)/libffi.map.in
 
 libffi_la_LDFLAGS = -no-undefined $(libffi_version_info) $(libffi_version_script) $(LTLDFLAGS) $(AM_LTLDFLAGS)
 libffi_la_DEPENDENCIES = $(libffi_la_LIBADD) $(libffi_version_dep)