mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-08 11:50:00 -04:00
Export stdcall functions as both suffixed and non-suffixed
The default is suffixed names, but some programming languages expect non-suffixed names. Resolves https://github.com/ebiggers/libdeflate/issues/59
This commit is contained in:
parent
3acda56db0
commit
5d2fd6e515
3
Makefile
3
Makefile
@ -72,7 +72,8 @@ ifneq ($(findstring -mingw,$(shell $(CC) -dumpmachine 2>/dev/null)),)
|
||||
SHARED_LIB := libdeflate.dll
|
||||
SHARED_LIB_SYMLINK :=
|
||||
SHARED_LIB_CFLAGS :=
|
||||
SHARED_LIB_LDFLAGS := -Wl,--out-implib,libdeflate.lib
|
||||
SHARED_LIB_LDFLAGS := -Wl,--out-implib,libdeflate.lib \
|
||||
-Wl,--add-stdcall-alias
|
||||
PROG_SUFFIX := .exe
|
||||
PROG_CFLAGS := -static -municode
|
||||
HARD_LINKS :=
|
||||
|
Loading…
x
Reference in New Issue
Block a user