Kaydet (Commit) 0e5a0cd2 authored tarafından Michael Stahl's avatar Michael Stahl

fix the --disable-randr-link build

This was borked since gbuildification of vcl in 2011 and the dlopen
code didn't even compile since commit
b5f11394

Change-Id: Ieff22ed144d9d89e53dd956ce0dfea5e4d07ea13
üst 359f43f8
......@@ -9226,6 +9226,7 @@ AC_MSG_CHECKING([whether to enable RandR support])
if test "$USING_X11" = TRUE -a "$test_randr" = "yes" -a \( "$enable_randr" = "yes" -o "$enable_randr" = "TRUE" \); then
if test -z "$enable_randr_link" -o "$enable_randr_link" = "no"; then
XRANDR_DLOPEN="TRUE"
ENABLE_RANDR="TRUE"
AC_MSG_RESULT([configured to dlopen libXrandr at runtime])
else
AC_MSG_RESULT([yes])
......
......@@ -138,7 +138,7 @@ RandRWrapper::RandRWrapper( Display* pDisplay ) :
// obviously they expected libXext to be linked in global symbolspace (that is
// linked by the application), which is not the case with us (because we want
// to be able to run in headless mode even without an installed X11 library)
m_pRandRLib = osl_loadModule( "libXrandr.so.2", SAL_LOADMODULE_DEFAULT | SAL_LOADMODULE_NOW );
m_pRandRLib = osl_loadModuleAscii("libXrandr.so.2", SAL_LOADMODULE_DEFAULT | SAL_LOADMODULE_NOW);
initFromModule();
}
if( m_bValid )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment