ifneq (,$(findstring cygwin,$(target_alias)))
inst_includedir:=$(tooldir)/include/w32api
inst_libdir:=$(tooldir)/lib/w32api
else
ifneq (,$with_cross_host)
inst_includedir:=$(tooldir)/include/w32api
inst_libdir:=$(tooldir)/lib
else
inst_includedir:=$(includedir)
inst_libdir:=$(libdir)
endif
endif
It seems that the $with_cross_host is catching the MinGW based compile
as well. Do I add a rule explicitly for MinGW:
ifneq (,$(findstring mingw,$(target_alias)))
inst_includedir:=$(includedir)
inst_libdir:=$(libdir)
else
Though that seems to defeat the purpose of the file 'else'. I'd
appreciate some help here, given that autotools are really not my
strong suit.