From ad9ca649de152e6afdb459007c449e7f8ce05edc Mon Sep 17 00:00:00 2001 From: zimoch Date: Wed, 23 Nov 2011 13:20:04 +0000 Subject: [PATCH] Build Perl interface only on host acritecture. --- src/cap5/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cap5/Makefile b/src/cap5/Makefile index 05f3de1e3..6d58dcfd6 100644 --- a/src/cap5/Makefile +++ b/src/cap5/Makefile @@ -22,7 +22,8 @@ ifneq ($(findstring darwin,$(T_A)),) LOADABLE_SHRLIB_SUFFIX = .bundle endif -ifeq ($(findstring $(OS_CLASS),WIN32 cygwin32),) +ifeq ($(T_A),$(EPICS_HOST_ARCH)) +ifeq ($(findstring $(OS_CLASS),WIN32 cygwin32 solaris-sparc),) # Doesn't build on WIN32 LOADABLE_LIBRARY_HOST = Cap5 @@ -34,6 +35,7 @@ ifeq ($(findstring $(OS_CLASS),WIN32 cygwin32),) PERL_MODULES += CA.pm endif +endif Cap5_SRCS = Cap5.xs Cap5_LIBS = ca Com