diff options
author | Robin Burchell <robin+git@viroteck.net> | 2016-05-19 11:58:47 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar@sletta.org> | 2016-05-19 10:16:03 +0000 |
commit | dbad7402b2886a556bcce5b50adfedc8b68de7a9 (patch) | |
tree | 4ff2cd2b0b4967050bf6e9d434c360bd39f0d9c7 /customcontext | |
parent | c2781d324915062a8575dd35ff0fc4a950a8c3d5 (diff) |
customcontext: Add linkage to libEGL for all cases that use symbols from it.
Failure to do so causes runtime errors when using -Wl,--as-needed.
Change-Id: If3687acbac06f13caba5ca3c7f3fdc33710fc5ab
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'customcontext')
-rw-r--r-- | customcontext/customcontext.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/customcontext/customcontext.pro b/customcontext/customcontext.pro index 75e216a..2cda8e5 100644 --- a/customcontext/customcontext.pro +++ b/customcontext/customcontext.pro @@ -84,7 +84,7 @@ eglgralloctexture:{ HEADERS += texture/eglgralloctexture.h INCLUDEPATH += texture $(ANDROID_SDK_INCLUDE) $(ANDROID_SDK_INCLUDE)/android - LIBS += -lhardware + LIBS += -lhardware -lEGL } else { message("eglgralloctexure .........: no") @@ -96,6 +96,7 @@ hybristexture :{ SOURCES += texture/hybristexture.cpp HEADERS += texture/hybristexture.h INCLUDEPATH += texture + LIBS += -lEGL } else { message("hybristexture ............: no") @@ -204,6 +205,7 @@ simplerenderer:{ message("programbinary ............: yes") DEFINES += PROGRAM_BINARY SOURCES += programbinary.cpp + LIBS += -lEGL } else { message("programbinary ............: no") } |