]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Strip _stdcall suffixes (@nn) for 32-bit builds
authorSimon Rozman <simon@rozman.si>
Tue, 1 Jan 2019 23:35:47 +0000 (00:35 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 18 Jan 2019 19:56:37 +0000 (20:56 +0100)
This makes DLL exported function names consistent between 32 and 64-bit
builds.

Signed-off-by: Simon Rozman <simon@rozman.si>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20190101233547.10100-1-simon@rozman.si>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18077.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpnmsica/Makefile.am

index f00a01d80365ccf1c2cf5cdc4fe641c9f205480b..db8502b802c6209ae0c0128cfb6a8501b9fa1474 100644 (file)
@@ -2,7 +2,7 @@
 #  openvpnmsica -- Custom Action DLL to provide OpenVPN-specific support to MSI packages
 #
 #  Copyright (C) 2002-2018 OpenVPN Inc <sales@openvpn.net>
-#  Copyright (C) 2018 Simon Rozman <simon@rozman.si>
+#  Copyright (C) 2018-2019 Simon Rozman <simon@rozman.si>
 #
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License version 2
@@ -40,7 +40,8 @@ lib_LTLIBRARIES = libopenvpnmsica.la
 libopenvpnmsica_la_CFLAGS = \
        -municode -D_UNICODE \
        -UNTDDI_VERSION -U_WIN32_WINNT \
-       -D_WIN32_WINNT=_WIN32_WINNT_VISTA
+       -D_WIN32_WINNT=_WIN32_WINNT_VISTA \
+       -Wl,--kill-at
 libopenvpnmsica_la_LDFLAGS = -ladvapi32 -lole32 -lmsi -lsetupapi -liphlpapi -lshell32 -lshlwapi -lversion -no-undefined -avoid-version
 endif