summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2017-12-09 19:05:42 +0100
committerraysan5 <[email protected]>2017-12-09 19:05:42 +0100
commit5ae2c0d15b349ce59425c319165505bda8298a6c (patch)
tree6e7337454f5b7a72df074799553478b4cb3af7d6 /examples/Makefile
parent3b5a26099e0cde67084481eb6048058578b30a0c (diff)
downloadraylib-5ae2c0d15b349ce59425c319165505bda8298a6c.tar.gz
raylib-5ae2c0d15b349ce59425c319165505bda8298a6c.zip
Added Wayland support
Updated to latest GLFW library and working on Wayland support, still looking how to implement it on raylib because it just exposes PLATFORM_DESKTOP and defaults to X11 windowing system on Linux...
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 44fd6ac3..2c627459 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -212,10 +212,15 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),LINUX)
# Libraries for Debian GNU/Linux desktop compiling
# NOTE: Required packages: libegl1-mesa-dev
- LDLIBS = -lraylib -lGL -lm -lpthread -ldl
+ LDLIBS = -lraylib -lGL -lm -lpthread -ldl -lrt
- # On XWindow requires also below libraries
- LDLIBS += -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor
+ # On X11 requires also below libraries
+ LDLIBS += -lX11
+ # NOTE: It seems additional libraries are not required any more, latest GLFW just dlopen them
+ #LDLIBS += -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor
+
+ # On Wayland windowing system, additional libraries requires
+ #LDLIBS += -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon
endif
ifeq ($(PLATFORM_OS),OSX)
# Libraries for OSX 10.9 desktop compiling