aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-11-17 12:55:30 +0100
committerraysan5 <raysan5@gmail.com>2016-11-17 12:55:30 +0100
commitbee283b12b348b054bde2eae1a449c363ac26fd7 (patch)
tree868bb03923b1b07798104b935ca58a42b4764c92 /src/Makefile
parente23e73d9b28833c61044dd494794b4aee047bf96 (diff)
downloadraylib-bee283b12b348b054bde2eae1a449c363ac26fd7.tar.gz
raylib-bee283b12b348b054bde2eae1a449c363ac26fd7.zip
Some tweaks around
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index feadc424..2433428f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -41,6 +41,11 @@ SHARED ?= NO
# define NO to use OpenAL Soft as static library (or shared by default)
SHARED_OPENAL ?= NO
+# on PLATFORM_WEB force OpenAL Soft shared library
+ifeq ($(PLATFORM),PLATFORM_WEB)
+ SHARED_OPENAL ?= YES
+endif
+
# determine if the file has root access (only for installing raylib)
# "whoami" prints the name of the user that calls him (so, if it is the root
# user, "whoami" prints "root").