Skip to content

Commit 87f1753

Browse files
committed
Reviewed warning on shared library generation for web
1 parent 322ba54 commit 87f1753

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ ifeq ($(TARGET_PLATFORM),$(filter $(TARGET_PLATFORM),PLATFORM_WEB PLATFORM_WEB_R
671671
# Compile raylib libray for web
672672
#$(CC) $(OBJS) -r -o $(RAYLIB_RELEASE_PATH)/lib$(RAYLIB_LIB_NAME).bc
673673
ifeq ($(RAYLIB_LIBTYPE),SHARED)
674-
@echo "Error: $(TARGET_PLATFORM) does not support SHARED libraries. Try RAYLIB_LIBTYPE=STATIC instead." && exit 1
674+
@echo "WARNING: $(TARGET_PLATFORM) does not support SHARED libraries. Generating STATIC library."
675675
endif
676676
$(AR) rcs $(RAYLIB_RELEASE_PATH)/lib$(RAYLIB_LIB_NAME).web.a $(OBJS)
677677
@echo "raylib library generated (lib$(RAYLIB_LIB_NAME).web.a)!"
@@ -831,7 +831,7 @@ ifeq ($(ROOT),root)
831831
@echo "This function currently works on GNU/Linux systems. Add yours today (^;"
832832
endif
833833
else
834-
@echo "Error: Root permissions needed for installation. Try sudo make install" && exit 1
834+
@echo "ERROR: Root permissions needed for installation. Try sudo make install" && exit 1
835835
endif
836836

837837
# Remove raylib dev files installed on the system
@@ -858,7 +858,7 @@ ifeq ($(ROOT),root)
858858
@echo "This function currently works on GNU/Linux systems. Add yours today (^;"
859859
endif
860860
else
861-
@echo "Error: Root permissions needed for uninstallation. Try sudo make uninstall" && exit 1
861+
@echo "ERROR: Root permissions needed for uninstallation. Try sudo make uninstall" && exit 1
862862
endif
863863

864864
.PHONY: clean_shell_cmd clean_shell_sh

0 commit comments

Comments
 (0)