aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/shared
diff options
context:
space:
mode:
authorBhanu Chetlapalli <bhanu@mips.com>2012-05-10 13:29:48 -0700
committerBhanu Chetlapalli <bhanu@mips.com>2012-05-10 13:29:48 -0700
commitebf85a764f8f9c7b31f7198f578c069522820fbf (patch)
treedc4a126153566176568b83356038758037ee0060 /emulator/opengl/shared
parent2538faf643032591228fbf63a401b4995a6a3a8f (diff)
downloadsdk-ebf85a764f8f9c7b31f7198f578c069522820fbf.zip
sdk-ebf85a764f8f9c7b31f7198f578c069522820fbf.tar.gz
sdk-ebf85a764f8f9c7b31f7198f578c069522820fbf.tar.bz2
Explicitly include -X11 while building emulator_renderer
emulator_renderer implicitly uses symbols defined by libX11.so through intermediate libraries, which can cause dependency issues if the intermediates drop the dependency. The linkers on distros like fedora now explicilty disable such indirect dependency resolution - which causes compilation failure. More information is available at this URL http://fedoraproject.org/wiki/UnderstandingDSOLinkChange Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com> Change-Id: If378fa76142cb6c8c7641d76802dcbc7691871d6
Diffstat (limited to 'emulator/opengl/shared')
-rw-r--r--emulator/opengl/shared/OpenglOsUtils/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/opengl/shared/OpenglOsUtils/Android.mk b/emulator/opengl/shared/OpenglOsUtils/Android.mk
index 82391cd..2e5a8a1 100644
--- a/emulator/opengl/shared/OpenglOsUtils/Android.mk
+++ b/emulator/opengl/shared/OpenglOsUtils/Android.mk
@@ -38,7 +38,7 @@ else
endif
ifeq ($(HOST_OS),linux)
- host_common_LDLIBS += -lpthread -lrt
+ host_common_LDLIBS += -lpthread -lrt -lX11
endif
### 32-bit host library ####