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

fix cygwin build of asn1certgen

parent 057eda8c
<?xml version="1.0"?> <?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" <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times" xmlns:date="http://exslt.org/dates-and-times"
......
...@@ -62,17 +62,18 @@ ifneq ($(filter profile, $(packages)),) ...@@ -62,17 +62,18 @@ ifneq ($(filter profile, $(packages)),)
endif endif
ifneq ($(filter openssl, $(packages)),) ifneq ($(filter openssl, $(packages)),)
ifneq ($(filter x64, $(ARCH)),) ifneq ($(findstring 64, $(ARCH)),)
OPENSSL_ARCH:=Win64 OPENSSL_ARCH:=Win64
else else
OPENSSL_ARCH:=Win32 OPENSSL_ARCH:=Win32
endif endif
ifneq ($(findstring mingw32,$(ARCH)),) ifneq ($(findstring mingw32,$(ARCH)),)
includes += C:/OpenSSL/$(OPENSSL_ARCH)/include 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 else
ifneq ($(findstring cygwin,$(ARCH)),) ifneq ($(findstring cygwin,$(ARCH)),)
includes += C:/OpenSSL/$(OPENSSL_ARCH)/include includes += C:/OpenSSL/$(OPENSSL_ARCH)/include
cflags += -LC:/OpenSSL/$(OPENSSL_ARCH)/lib
endif endif
libs += -lssl -lcrypto libs += -lssl -lcrypto
endif endif
......
Supports Markdown
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