WARNING: REVIEWED: Use libraylib.web.a naming on PLATFORM_WEB

This change allows to have in same directory (currently `raylib/src`) two raylib build versions: Desktop and Web
This commit is contained in:
Ray 2024-12-18 11:45:55 +01:00
parent f76734fc50
commit de6c09ee7a
3 changed files with 4 additions and 4 deletions

View file

@ -482,7 +482,7 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DRM)
endif
ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
# Libraries for web (HTML5) compiling
LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.a
LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.web.a
endif
# Define source code object files required

View file

@ -365,7 +365,7 @@ ifeq ($(PLATFORM),PLATFORM_DRM)
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
# Libraries for web (HTML5) compiling
LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.a
LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.web.a
endif
# Define source code object files required