From af6295211178e1237df6b9b05b5cfe275238e8dc Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Thu, 26 Aug 2010 14:55:34 +0200 Subject: Fix SSL build failure when building in minimal source tree Building in a source tree without prebuilt platform independent build results failed on the SSL examples when cross building. This has been solved by not building the SSL examples during a cross build. --- lib/ssl/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/ssl/Makefile b/lib/ssl/Makefile index b8b51270c9..5c6b7a2941 100644 --- a/lib/ssl/Makefile +++ b/lib/ssl/Makefile @@ -28,9 +28,10 @@ ifeq ($(findstring win32,$(TARGET)),win32) ifeq ($(HOST_OS),) HOST_OS := $(shell $(ERL_TOP)/erts/autoconf/config.guess) endif -ifeq ($(findstring solaris,$(HOST_OS)),solaris) -SKIP_BUILDING_BINARIES := true endif + +ifeq ($(CROSS_COMPILING),yes) +SKIP_BUILDING_BINARIES := true else SKIP_BUILDING_BINARIES := false endif -- cgit v1.2.3