mirror of
https://github.com/logos-storage/nim-bearssl.git
synced 2026-02-24 07:03:06 +00:00
Fix path handling for compilation targets.
Bump version to 0.1.5.
This commit is contained in:
parent
8a9503b6df
commit
924fb6cad1
@ -1,5 +1,5 @@
|
||||
# Package
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
author = "Status Research & Development GmbH"
|
||||
description = "BearSSL wrapper"
|
||||
license = "MIT or Apache License 2.0"
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
## those terms.
|
||||
## This module implements interface with BearSSL library sources.
|
||||
import strutils
|
||||
from os import DirSep
|
||||
from os import DirSep, quoteShell
|
||||
|
||||
const
|
||||
bearPath = currentSourcePath.rsplit(DirSep, 1)[0] & DirSep &
|
||||
@ -31,9 +31,9 @@ const
|
||||
bearToolsPath = bearPath & "tools" & DirSep
|
||||
bearRootPath = bearSrcPath & DirSep
|
||||
|
||||
{.passC: "-I" & bearSrcPath}
|
||||
{.passC: "-I" & bearIncPath}
|
||||
{.passC: "-I" & bearPath & "tools"}
|
||||
{.passC: "-I" & quoteShell(bearSrcPath)}
|
||||
{.passC: "-I" & quoteShell(bearIncPath)}
|
||||
{.passC: "-I" & quoteShell(bearPath & "tools")}
|
||||
|
||||
when defined(windows):
|
||||
{.passC: "-DBR_USE_WIN32_TIME=1".}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user