From 6824aa549cbfc535debee2effe99b5a30849fdcd Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 20 Feb 2017 07:17:56 +0000 Subject: Start of a fake msi.dll. This seems to be the next function WiX expects from its native-code DLLs. So far it's just a stub. --- Makefile.wixfakelibs | 4 +++- fake-msi.c | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 fake-msi.c diff --git a/Makefile.wixfakelibs b/Makefile.wixfakelibs index af8b0f5..7a3b8ef 100644 --- a/Makefile.wixfakelibs +++ b/Makefile.wixfakelibs @@ -2,7 +2,7 @@ .SUFFIXES: .c .lo .la -all: libwinterop.so.la +all: libwinterop.so.la libmsi.so.la %.la: libtool --mode=link gcc -o $@ $^ -rpath /usr/local/lib @@ -12,6 +12,8 @@ all: libwinterop.so.la libwinterop.so.la: fake-winterop.lo +libmsi.so.la: fake-msi.lo + clean: rm -rf .libs rm -f *.o *.lo *.la diff --git a/fake-msi.c b/fake-msi.c new file mode 100644 index 0000000..1302e8c --- /dev/null +++ b/fake-msi.c @@ -0,0 +1,15 @@ +#include +#include +#include +#include +#include +#include +#include +#include + +uint32_t MsiGetFileVersionW(const char16_t *filename, + char16_t *version, uint32_t *version_size, + char16_t *language, uint32_t *language_size) +{ + errx(1, "NYI: MsiGetFileVersion"); +} -- cgit v1.2.3-55-g6feb