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.
This commit is contained in:
Simon Tatham 2017-02-20 07:17:56 +00:00
parent fbf19f95a0
commit 6824aa549c
2 changed files with 18 additions and 1 deletions

View file

@ -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

15
fake-msi.c Normal file
View file

@ -0,0 +1,15 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdarg.h>
#include <string.h>
#include <uchar.h>
#include <err.h>
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");
}