aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'source/Irrlicht/Makefile')
-rw-r--r--source/Irrlicht/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Irrlicht/Makefile b/source/Irrlicht/Makefile
index 2c536ee..b08e979 100644
--- a/source/Irrlicht/Makefile
+++ b/source/Irrlicht/Makefile
@@ -77,6 +77,7 @@ ifeq ($(HOSTTYPE), x86_64)
LIBSELECT=64
endif
+OGLESLIBS := -lEGL -lGLESv2
#Linux specific options
staticlib sharedlib install: SYSTEM = Linux
STATIC_LIB = libIrrlicht.a
@@ -84,7 +85,7 @@ LIB_PATH = ../../lib/$(SYSTEM)
INSTALL_DIR = /usr/local/lib
sharedlib install: SHARED_LIB = libIrrlicht.so
staticlib sharedlib: LDFLAGS += --no-export-all-symbols --add-stdcall-alias
-sharedlib: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) -lGL -lXxf86vm -lX11 -lz -lpng -ljpeg -lbz2
+sharedlib: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) $(OGLESLIBS) -lXxf86vm -lX11 -lz -lpng -ljpeg -lbz2
staticlib sharedlib: CXXINCS += -I/usr/X11R6/include
#OSX specific options