Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Brad Spencer <bspencer@blackberry.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: [Wintun] DEPENDENTLOADFLAG for wintun.dll?
Date: Wed, 10 Feb 2021 10:02:14 -0400	[thread overview]
Message-ID: <6c752624-1195-ec77-c16a-9fd438cb11ae@blackberry.com> (raw)

Would it make sense to link the official wintun.dll with the MSVC 
linker's -DEPENDENTLOADFLAG:0x800 option?

https://docs.microsoft.com/en-us/cpp/build/reference/dependentloadflag

Doing so restricts the search path for immediate dependencies to the 
%windows%\system32\ directory, and I think all of the DLLs Wintun needs 
are there.

-- 
Brad Spencer


             reply	other threads:[~2021-02-10 14:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-10 14:02 Brad Spencer [this message]
2021-02-10 14:43 ` Jason A. Donenfeld
2021-02-10 14:57   ` Stefan Kanthak
2021-02-10 17:52     ` Brad Spencer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6c752624-1195-ec77-c16a-9fd438cb11ae@blackberry.com \
    --to=bspencer@blackberry.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).