diff options
-rw-r--r-- | Makefile.wixfakelibs | 4 | ||||
-rw-r--r-- | fake-msi.c | 15 |
2 files changed, 18 insertions, 1 deletions
diff --git a/Makefile.wixfakelibs b/Makefile.wixfakelibs index af8b0f5..7a3b8ef 100644 --- a/Makefile.wixfakelibs +++ b/Makefile.wixfakelibs | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | .SUFFIXES: .c .lo .la | 3 | .SUFFIXES: .c .lo .la |
4 | 4 | ||
5 | all: libwinterop.so.la | 5 | all: libwinterop.so.la libmsi.so.la |
6 | 6 | ||
7 | %.la: | 7 | %.la: |
8 | libtool --mode=link gcc -o $@ $^ -rpath /usr/local/lib | 8 | libtool --mode=link gcc -o $@ $^ -rpath /usr/local/lib |
@@ -12,6 +12,8 @@ all: libwinterop.so.la | |||
12 | 12 | ||
13 | libwinterop.so.la: fake-winterop.lo | 13 | libwinterop.so.la: fake-winterop.lo |
14 | 14 | ||
15 | libmsi.so.la: fake-msi.lo | ||
16 | |||
15 | clean: | 17 | clean: |
16 | rm -rf .libs | 18 | rm -rf .libs |
17 | rm -f *.o *.lo *.la | 19 | 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 @@ | |||
1 | #include <stdio.h> | ||
2 | #include <stdlib.h> | ||
3 | #include <stdint.h> | ||
4 | #include <stdbool.h> | ||
5 | #include <stdarg.h> | ||
6 | #include <string.h> | ||
7 | #include <uchar.h> | ||
8 | #include <err.h> | ||
9 | |||
10 | uint32_t MsiGetFileVersionW(const char16_t *filename, | ||
11 | char16_t *version, uint32_t *version_size, | ||
12 | char16_t *language, uint32_t *language_size) | ||
13 | { | ||
14 | errx(1, "NYI: MsiGetFileVersion"); | ||
15 | } | ||