Commit 191fd267 authored by's avatar
Browse files

Windows DLLs: Slurp across the actually static version of libffi

parent 5e4597f7
......@@ -150,9 +150,17 @@ $(libffi_STAMP_CONFIGURE):
libffi/dist-install/build/ffi.h: $(libffi_STAMP_CONFIGURE) | $$(dir $$@)/.
"$(CP)" libffi/build/include/ffi.h $@
$(libffi_STAMP_BUILD): $(libffi_STAMP_CONFIGURE) | libffi/dist-install/build/.
$(MAKE) -C libffi/build MAKEFLAGS=
cd libffi/build && ./libtool --mode=install cp $(TOP)/libffi/dist-install/build
# We actually want both static and dllized libraries, because we build
# the runtime system both ways. libffi_convenience.a is the static version.
ifeq "$(Windows)" "YES"
cp libffi/build/.libs/libffi_convenience.a $(libffi_STATIC_LIB)
touch $@
$(libffi_STATIC_LIB): $(libffi_STAMP_BUILD)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment