=== modified file 'src/cap5/Makefile' --- src/cap5/Makefile 2014-12-02 17:03:16 +0000 +++ src/cap5/Makefile 2015-02-24 22:23:14 +0000 @@ -25,9 +25,8 @@ PERL_ARCHNAME = $(shell $(PERL) ../perlConfig.pl archname) PERL_ARCHPATH = $(PERL_VERSION)/$(PERL_ARCHNAME) -ifeq ($(findstring Host,$(VALID_BUILDS)),Host) -ifeq ($(findstring $(OS_CLASS),WIN32 cygwin32),) - # Doesn't build on WIN32 +ifeq ($(T_A),$(EPICS_HOST_ARCH)) # No cross-builds (wrong Perl!) +ifeq ($(findstring $(OS_CLASS),WIN32 cygwin32),) # Doesn't build on WIN32 LOADABLE_LIBRARY_HOST = Cap5 PERL_SCRIPTS += cainfo.pl