Add credentialprovider.h not in mingw-w64

This header has been recently added to mingw-w64 on our
request. Until its available in released versions,
wget it from mingw-w64's github repo.

Only affects autotools-based builds -- MSVC builds will pick the
native header.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
pull/529/head
Selva Nair 2022-08-08 20:59:50 -04:00
parent ed0ceeb95b
commit c5c856aaa1
1 changed files with 6 additions and 1 deletions

View File

@ -28,7 +28,7 @@ LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE)
$(RCCOMPILE) -i "$<" -o "$@" $(RCCOMPILE) -i "$<" -o "$@"
MAINTAINERCLEANFILES = \ MAINTAINERCLEANFILES = \
$(srcdir)/Makefile.in $(srcdir)/Makefile.in $(srcdir)/credentialprovider.h
lib_LTLIBRARIES = libopenvpn_plap.la lib_LTLIBRARIES = libopenvpn_plap.la
@ -67,7 +67,9 @@ libopenvpn_plap_la_RESOURCES = \
openvpn-plap-res.lo: $(libopenvpn_plap_la_RESOURCES) $(top_srcdir)/openvpn-gui-res.h openvpn-plap-res.lo: $(libopenvpn_plap_la_RESOURCES) $(top_srcdir)/openvpn-gui-res.h
EXTRA_DIST = openvpn-plap-res.rc openvpn-plap.manifest EXTRA_DIST = openvpn-plap-res.rc openvpn-plap.manifest
BUILT_SOURCES = credentialprovider.h
libopenvpn_plap_la_SOURCES = \ libopenvpn_plap_la_SOURCES = \
credentialprovider.h \
stub.c plap_provider.c \ stub.c plap_provider.c \
plap_connection.h plap_connection.c \ plap_connection.h plap_connection.c \
plap_common.h plap_common.c \ plap_common.h plap_common.c \
@ -96,3 +98,6 @@ libopenvpn_plap_la_LIBADD = \
-lrpcrt4 -lrpcrt4
libopenvpn_plap_la_LDFLAGS = -no-undefined -avoid-version -static-libgcc libopenvpn_plap_la_LDFLAGS = -no-undefined -avoid-version -static-libgcc
credentialprovider.h:
wget https://raw.githubusercontent.com/mirror/mingw-w64/master/mingw-w64-headers/include/credentialprovider.h