aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/Makefile
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-08-26 14:55:34 +0200
committerRickard Green <[email protected]>2010-08-27 14:29:24 +0200
commitaf6295211178e1237df6b9b05b5cfe275238e8dc (patch)
treeda5caf385a3ca913b8952309965ddd1dd25ef574 /lib/ssl/Makefile
parent1b4a6172d8d2df4362d6d084daef02804e10ebb6 (diff)
downloadotp-af6295211178e1237df6b9b05b5cfe275238e8dc.tar.gz
otp-af6295211178e1237df6b9b05b5cfe275238e8dc.tar.bz2
otp-af6295211178e1237df6b9b05b5cfe275238e8dc.zip
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.
Diffstat (limited to 'lib/ssl/Makefile')
-rw-r--r--lib/ssl/Makefile5
1 files changed, 3 insertions, 2 deletions
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