aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/Makefile
diff options
context:
space:
mode:
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