fix: linking library glfw, whilst the library compilation produces libglfw3.

This slight discrepancy is a tad annoying, since it doesn't work
backwards so it uses my system's version. But we'll figure something for
that out later... probably.
This commit is contained in:
2025-09-13 21:32:33 +02:00
parent 997b15c640
commit 1140bd97bf

View File

@@ -24,7 +24,7 @@ LDFLAGS += -fsanitize=address -ftrapv
endif
CPPFLAGS += -Iinclude -Ilib/glad/include -Ilib/glfw/include -Ilib/libarchive/libarchive
LDFLAGS += -Llib/obj/glfw/src -Llib/obj/libarchive/libarchive
LDLIBS += -lm -lglfw -larchive
LDLIBS += -lm -lglfw3 -larchive
# detect if we're compiling on Windows, meaning
# a lot of things considered "standard" are unavailable.