Skip to content

Commit ae8d7ab

Browse files
committed
Win32: link alure dynamically
I couldn't figure out a way to link it statically without it either crashing at runtime or failing to link. I think the problem is some binary incompatibility between libstdc++ and alure. Compiling alure on my own didn't help either.
1 parent 4470b67 commit ae8d7ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ ifdef mingw
1616
CROSS := i686-w64-mingw32-
1717
CFLAGS += -Iwin32/include -Iwin32/include/AL
1818
LDFLAGS += -mwindows -static-libgcc -static-libstdc++
19-
CFLAGS += -DALURE_STATIC_LIBRARY
20-
LIBS += -Lwin32/lib -lALURE32-static -lOpenAL32
19+
LIBS += -Lwin32/lib -lALURE32 -lOpenAL32
2120
SRC += scan-windows.c
2221
else
2322
OS := $(shell uname)

0 commit comments

Comments
 (0)