Build Perl interface only on host acritecture.

This commit is contained in:
zimoch
2011-11-23 13:20:04 +00:00
parent 57a63a8b27
commit ad9ca649de

View File

@@ -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