]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Check if the -wrap argument is actually supported by the platform's ld
authorArne Schwabe <arne@rfc2549.org>
Wed, 12 Jul 2023 09:55:29 +0000 (11:55 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 17 Jul 2023 17:34:00 +0000 (19:34 +0200)
commit4ef76f0ee4e122dcd616e1b1e2d652562ab10756
tree8a1663124cd0ce412c6c44638da872b14b4658d9
parentede590e57c96c2b16d9bf462c4b1dd967b37c432
Check if the -wrap argument is actually supported by the platform's ld

This avoids build errors on macOS. Also the test_tls_crypt command works
just fine on FreeBSD with its linkers, so do not make that test Linux only.

Patch v2: allow running with old cmake version (cmake 3 on RHEL7 with EPEL
          is only 3.17)
Patch v3: add OPTIONAL keyword to Incldue required by some cmake versions

Change-Id: Id26676bdc576c7d3d6726afa43fe6c7a397c579b
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20230712095529.570306-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26850.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
CMakeLists.txt