From 724508d61f41d5b443149a5ad88d2badb290ad3a Mon Sep 17 00:00:00 2001
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: Mon, 2 Nov 2020 11:36:13 +0100
Subject: api: make nci.lib work on x86

This is an appalling hack. We need the lib tool to generate a coff lib
with the "undecorate" parameter. And apparently the only way to do this
with the MSVC tools is by making a stub object, and then rewriting the
symbols using the def file. See Q131313 for Microsoft-sanctioned
details.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
---
 api/nci.def | 1 +
 1 file changed, 1 insertion(+)

(limited to 'api/nci.def')

diff --git a/api/nci.def b/api/nci.def
index de1b6ea..db484b7 100644
--- a/api/nci.def
+++ b/api/nci.def
@@ -1,3 +1,4 @@
+LIBRARY nci.dll
 EXPORTS
 	NciGetConnectionName
 	NciSetConnectionName
-- 
cgit v1.2.3-59-g8ed1b

