aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/Makefile
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-08-27 13:28:43 +0200
committerRickard Green <[email protected]>2010-08-27 14:51:22 +0200
commit22fe8c9f870f5b20f1cb9e740ff20a15331472f9 (patch)
treef7d1d0d6073ba2f7086ea6a76ed5d41b5b6fe883 /lib/ssl/Makefile
parentaf6295211178e1237df6b9b05b5cfe275238e8dc (diff)
downloadotp-22fe8c9f870f5b20f1cb9e740ff20a15331472f9.tar.gz
otp-22fe8c9f870f5b20f1cb9e740ff20a15331472f9.tar.bz2
otp-22fe8c9f870f5b20f1cb9e740ff20a15331472f9.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 building on Windows.
Diffstat (limited to 'lib/ssl/Makefile')
-rw-r--r--lib/ssl/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/lib/ssl/Makefile b/lib/ssl/Makefile
index 5c6b7a2941..8c9d78d4bc 100644
--- a/lib/ssl/Makefile
+++ b/lib/ssl/Makefile
@@ -24,22 +24,11 @@ include $(ERL_TOP)/make/$(TARGET)/otp.mk
#
# Macros
#
-ifeq ($(findstring win32,$(TARGET)),win32)
-ifeq ($(HOST_OS),)
-HOST_OS := $(shell $(ERL_TOP)/erts/autoconf/config.guess)
-endif
-endif
-ifeq ($(CROSS_COMPILING),yes)
-SKIP_BUILDING_BINARIES := true
-else
-SKIP_BUILDING_BINARIES := false
-endif
-
-ifeq ($(SKIP_BUILDING_BINARIES), true)
SUB_DIRECTORIES = src c_src doc/src
-else
-SUB_DIRECTORIES = src c_src doc/src examples/certs examples/src
+
+ifeq ($(CROSS_COMPILING),no)
+SUB_DIRECTORIES += examples/certs examples/src
endif
include vsn.mk