| Message ID | 20230628100350.1793-1-lstipakov@gmail.com |
|---|---|
| State | Superseded |
| Headers | show
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net>
Delivered-To: patchwork@openvpn.net
Received: by 2002:a05:7301:3c07:b0:d9:b492:11d6 with SMTP id ki7csp972206dyb;
Wed, 28 Jun 2023 03:05:29 -0700 (PDT)
X-Google-Smtp-Source:
ACHHUZ7NmHxPr0SPq560H9cxEQvZ1SAsg8CgQw7jVcK4WN9nq/VeGlTIHxg3qNuEJFjttWhR31Wj
X-Received: by 2002:a5e:a918:0:b0:783:56f2:e733 with SMTP id
c24-20020a5ea918000000b0078356f2e733mr8891824iod.4.1687946728783;
Wed, 28 Jun 2023 03:05:28 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1687946728; cv=none;
d=google.com; s=arc-20160816;
b=JBzNap9wt9aTDhyg2HGKV9GSZrcOSLGGE8fBSEklH0YR+I5q1moy+sxTnyI5VJBdac
rjHxBS01ub4mhUr/TMMq3RrNQ60088RiUX/hMoKPMIY4LuSysEh8ap14xm2J9aN25tez
qw1pUQW6aLT8v6fs0hEA33eKcpjav2Tl1FwLJiXpmj0mgMvgCebGvdA9WnbJKoIYpY8/
7nLVnJRmeenFp9gN9cxgyE/2m6R2S+CbHB4fWXdrz2v7iX4ckVLBhmo/mpS1WfJGIWnA
F6e8PJV7k33OW0kNIyet3xwACiMKoFXQHNtDLrJFzahWa9dWuMVvkL2i2ditw2aaIiS/
jzqw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=errors-to:content-transfer-encoding:cc:list-subscribe:list-help
:list-post:list-archive:list-unsubscribe:list-id:precedence:subject
:mime-version:message-id:date:to:from:dkim-signature:dkim-signature
:dkim-signature;
bh=mcMxUjgvJcyhXL/Sg7RdmKf/GvHfjJ7W6frjs//v5sc=;
fh=ZRBZ3p4fvLYBwsG7McdxRCx2fnmH9YCsPK+JAqT+6LA=;
b=fde9NBIpHlm8oUeG/WeZ5507Qvtd0Ie3CJChG8p1A0/eVsRVlLa9gl7bMcqWyPjI7D
ea1vXYSrkQvDqTxFqjWHTzMDetQ/hVCNzKaqdw8Y/a8cExmhuN7EdojXXSLlvmFjWVcA
PRhXCcx0B2J/4PQCSqawfbxJHQ7X5NpXXutoXg0RNPvPS4vXq3EzfzFHHa1LyNRUPUZo
OX/UJL/ermR9uInwqrZgMOa2XbECzphDibA/44EZMWEwaANtNBGODtPVjQTrAtd/mWQl
EXBirC06DS0Di0YkS9X/N9lOuKMbA35qbD9hGqwBHtMOntO0HaBPXGwz6uuCw458QEfr
5hog==
ARC-Authentication-Results: i=1; mx.google.com;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b="Kp/ssbO2";
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=Iq3f1amg;
dkim=neutral (body hash did not verify) header.i=@gmail.com
header.s=20221208 header.b=H2BXEGhh;
spf=pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net;
dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7])
by mx.google.com with ESMTPS id
m15-20020a026d0f000000b0042ae10c02fesi1118994jac.46.2023.06.28.03.05.28
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Wed, 28 Jun 2023 03:05:28 -0700 (PDT)
Received-SPF: pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) client-ip=216.105.38.7;
Authentication-Results: mx.google.com;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b="Kp/ssbO2";
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=Iq3f1amg;
dkim=neutral (body hash did not verify) header.i=@gmail.com
header.s=20221208 header.b=H2BXEGhh;
spf=pass (google.com: domain of
openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as
permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net;
dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com)
by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95)
(envelope-from <openvpn-devel-bounces@lists.sourceforge.net>)
id 1qES2M-0006pu-DC;
Wed, 28 Jun 2023 10:04:34 +0000
Received: from [172.30.20.202] (helo=mx.sourceforge.net)
by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95)
(envelope-from <lstipakov@gmail.com>) id 1qES2J-0006pn-I3
for openvpn-devel@lists.sourceforge.net;
Wed, 28 Jun 2023 10:04:32 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id:
Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=YmbKJ3H6nsORkYt7xY6nJAGb14/hRD3gcaYwKbzWpWw=; b=Kp/ssbO2f/dXwr+LN8MvR2RV/c
GA5mWtR9b4oFG7Jk6zHEcEK2402CnV0lUpUMnYUr8ZC6dVPMPOGtBmbCzhrRxDbC7hnxT9qFlO/h9
RkAil8gp0X0MrOXE0gjKqSkYaavg2SwsczHWToP7GJHtT8nX5VKjLmLgRyw+sDpBgRPs=;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x
;
h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From
:Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:
Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:
References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:
List-Owner:List-Archive; bh=YmbKJ3H6nsORkYt7xY6nJAGb14/hRD3gcaYwKbzWpWw=; b=I
q3f1amgoUeW6Z48c+mTZSt+vAI9IeXidvBA2v+BXVFR8nNE3yKYLQGB73YiMk3Ltr12UOBTqA94zU
uEZCQl7ott1NVwkJimboWZeyyRkQbNZiPQcwxqa1/nxd3+ND3psRi3L5a46eNJUD5gQICJSUjw9l5
RSCoZjP3zcNL8wCU=;
Received: from mail-lf1-f52.google.com ([209.85.167.52])
by sfi-mx-2.v28.lw.sourceforge.com with esmtps
(TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.95)
id 1qES2E-0004eG-Mf for openvpn-devel@lists.sourceforge.net;
Wed, 28 Jun 2023 10:04:31 +0000
Received: by mail-lf1-f52.google.com with SMTP id
2adb3069b0e04-4f875b267d9so8144286e87.1
for <openvpn-devel@lists.sourceforge.net>;
Wed, 28 Jun 2023 03:04:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1687946660; x=1690538660;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=YmbKJ3H6nsORkYt7xY6nJAGb14/hRD3gcaYwKbzWpWw=;
b=H2BXEGhhmm8Xj03aPEXGwU8fVqvncTlRfBSAlz6HwFFQXBqOU1WmxXv0B/d5mM9uFv
fFnzoA1B+bGc1GU0195nQ3VcxzGvEjR2Ft/yiZ8EnvSxz2vpB4uBqWiUQnZcm3fcFVin
VwbnklrLiXobJFzOaDWtJwRsTH6DL4aBpmNG8UmzdFztj7n4YolUV/0daXlzhuBveQgp
zTmrC7PN/F2Vkhao8qnZIEapknDgbIK4K40U+/RKoFbCtncmKkvkE5bT1wbhyCXNc1Vo
e7pDhov6Fy3XSITFRwywVqp6kaMDhe+7+gd3QoGPHrui+LH5OWl8pKgcT1AizZ1k/saI
bt+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1687946660; x=1690538660;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=YmbKJ3H6nsORkYt7xY6nJAGb14/hRD3gcaYwKbzWpWw=;
b=D51tP304Cq20CsxhcGwGoHfRJx+WoagFgf1ldlIlpkl9rcdJi8ZGq0dokv+8jsEkuS
fJvR4oQPFh0K/SK5s9IiTaOfjt9+mtAsYyOce0EcK99Zq1pfI4F200cPbLTm6tWAzw0N
wLkP+ReMQ0nlrI6j/LEHK7ChG8ZspFV+IoQdtaNNtKvAOGaLeSUmUVMCZ6jw5hhI8c/Q
rehh9uFkQl3RdTM6uophBSqpc6EXKD0+y/vJgS/TZUdBbsfbvhtMMITmRNgZnOSCE/um
adorKa3Bcl1aB5Vbj88K5vc8ZSv1VBCP5DCJK9MmeYphSMXqd40G9PxCWV9XvEEw8q7a
A33A==
X-Gm-Message-State: AC+VfDw5r62ypZx8LLT6WcChmh8J7N8jGaAEo0ne4PpKSScFynH4Lgbh
slOAmpoaowKx6aNsxv47jBClkQ1Ztjo=
X-Received: by 2002:ac2:4e96:0:b0:4fb:90c6:c31a with SMTP id
o22-20020ac24e96000000b004fb90c6c31amr903985lfr.14.1687946659315;
Wed, 28 Jun 2023 03:04:19 -0700 (PDT)
Received: from localhost.localdomain ([193.64.211.192])
by smtp.gmail.com with ESMTPSA id
k16-20020a05600c0b5000b003fba6709c68sm4143487wmr.47.2023.06.28.03.04.18
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Wed, 28 Jun 2023 03:04:18 -0700 (PDT)
From: Lev Stipakov <lstipakov@gmail.com>
To: openvpn-devel@lists.sourceforge.net
Date: Wed, 28 Jun 2023 13:03:50 +0300
Message-Id: <20230628100350.1793-1-lstipakov@gmail.com>
X-Mailer: git-send-email 2.23.0.windows.1
MIME-Version: 1.0
X-Spam-Score: -0.2 (/)
X-Spam-Report: Spam detection software,
running on the system "util-spamd-1.v13.lw.sourceforge.com",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: From: Lev Stipakov By default CMake links C runtime
dynamically,
which doesn't work on Windows 7, for example. This is not an issue with other
openvpn binaries, since we bundle C runtime, but it is not yet available
during installation.
Content analysis details: (-0.2 points, 6.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider [lstipakov[at]gmail.com]
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust [209.85.167.52 listed in list.dnswl.org]
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
envelope-from domain
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's domain
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily
valid -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
[209.85.167.52 listed in wl.mailspike.net]
X-Headers-End: 1qES2E-0004eG-Mf
Subject: [Openvpn-devel] [PATCH] openvpnmsica: link C runtime statically
X-BeenThere: openvpn-devel@lists.sourceforge.net
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <openvpn-devel.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive:
<http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel>
List-Post: <mailto:openvpn-devel@lists.sourceforge.net>
List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe>
Cc: Lev Stipakov <lev@openvpn.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: openvpn-devel-bounces@lists.sourceforge.net
X-getmail-retrieved-from-mailbox: Inbox
X-GMAIL-THRID: =?utf-8?q?1769940429016002646?=
X-GMAIL-MSGID: =?utf-8?q?1769940429016002646?=
|
| Series |
[Openvpn-devel] openvpnmsica: link C runtime statically
|
expand
|
On Wed, Jun 28, 2023 at 01:03:50PM +0300, Lev Stipakov wrote: > From: Lev Stipakov <lev@openvpn.net> > > By default CMake links C runtime dynamically, > which doesn't work on Windows 7, for example. > > This is not an issue with other openvpn binaries, > since we bundle C runtime, but it is not yet available > during installation. NAK, breaks MinGW build. Regards,
diff --git a/src/openvpnmsica/CMakeLists.txt b/src/openvpnmsica/CMakeLists.txt index 683d38e0..6816b119 100644 --- a/src/openvpnmsica/CMakeLists.txt +++ b/src/openvpnmsica/CMakeLists.txt @@ -25,7 +25,10 @@ target_compile_options(openvpnmsica PRIVATE -D_UNICODE -UNTDDI_VERSION -D_WIN32_WINNT=_WIN32_WINNT_VISTA + "$<$<CONFIG:Release>:/MT>" + "$<$<CONFIG:Debug>:/MTd>" ) + target_link_libraries(openvpnmsica advapi32.lib ole32.lib msi.lib setupapi.lib iphlpapi.lib shell32.lib shlwapi.lib version.lib newdev.lib) if (MINGW)