Commit f647fd53 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix the libffi ln handling on cygwin

iWe were adding c:/... to $PATH, but : is the separator
in $PATH.
parent efcbe14d
......@@ -34,6 +34,10 @@ endif
libffi_STATIC_LIB = libffi/build/inst/lib/libffi.a
ffi_HEADER = rts/dist/build/ffi.h
ifeq "$(OSTYPE)" "cygwin"
LIBFFI_PATH_MANGLE = PATH=$$(cygpath "$(TOP)")/libffi:$$PATH; export PATH;
ifneq "$(BINDIST)" "YES"
......@@ -54,8 +58,7 @@ $(libffi_STAMP_CONFIGURE):
# Because -Werror may be in SRC_CC_OPTS/SRC_LD_OPTS, we need to turn
# warnings off or the compilation of libffi might fail due to warnings
cd libffi && \
PATH=$(TOP)/libffi:$$PATH; \
export PATH; \
cd build && \
LD=$(LD) \
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