Commit 2e65cbd1 authored by filatov's avatar filatov
Browse files

fix cygwin build of asn1certgen

parent 057eda8c
<?xml version="1.0"?>
<!--
****************************************************************************************
* This scripts generates XER certificate representation from given profile. *
* Use ETSI asn1certgen converter to convert XER to COER and sign certificates. *
* see https://oldforge.etsi.org/svn/ITS/branches/STF525/tools/itscertgen/asn1certgen *
****************************************************************************************
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times"
......
......@@ -62,17 +62,18 @@ ifneq ($(filter profile, $(packages)),)
endif
ifneq ($(filter openssl, $(packages)),)
ifneq ($(filter x64, $(ARCH)),)
ifneq ($(findstring 64, $(ARCH)),)
OPENSSL_ARCH:=Win64
else
OPENSSL_ARCH:=Win32
endif
ifneq ($(findstring mingw32,$(ARCH)),)
includes += C:/OpenSSL/$(OPENSSL_ARCH)/include
libs += C:/OpenSSL/$(OPENSSL_ARCH)/lib/MinGW/libeay32.a C:/OpenSSL-Win32/lib/MinGW/ssleay32.a
libs += C:/OpenSSL/$(OPENSSL_ARCH)/lib/MinGW/libeay32.a C:/OpenSSL/$(OPENSSL_ARCH)/lib/MinGW/ssleay32.a
else
ifneq ($(findstring cygwin,$(ARCH)),)
includes += C:/OpenSSL/$(OPENSSL_ARCH)/include
cflags += -LC:/OpenSSL/$(OPENSSL_ARCH)/lib
endif
libs += -lssl -lcrypto
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment