From ebf85a764f8f9c7b31f7198f578c069522820fbf Mon Sep 17 00:00:00 2001 From: Bhanu Chetlapalli Date: Thu, 10 May 2012 13:29:48 -0700 Subject: 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 Change-Id: If378fa76142cb6c8c7641d76802dcbc7691871d6 --- emulator/opengl/shared/OpenglOsUtils/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emulator/opengl') 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 #### -- cgit v1.1