From a1aa892c8a62fca89274e2d489b5516d5f8d0142 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Tue, 30 May 2006 23:30:26 +0000 Subject: Fix up health check to find libX11 and libXv shared objects even if devel packages aren't installed (where appropriate). (Ubuntu 47357) CVS patchset: 7999 CVS date: 2006/05/30 23:30:26 --- src/xine-utils/xine_check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c index a27052d1a..6e4d0c882 100644 --- a/src/xine-utils/xine_check.c +++ b/src/xine-utils/xine_check.c @@ -373,7 +373,7 @@ xine_health_check_t* _x_health_check_xv (xine_health_check_t* hc) { /* Majority of thi code was taken from or inspired by the xvinfo.c file of XFree86 */ dlerror(); /* clear error code */ - x11_handle = dlopen("libX11.so", RTLD_LAZY); + x11_handle = dlopen(LIBX11_SO, RTLD_LAZY); if(!x11_handle) { hc->msg = dlerror(); hc->status = XINE_HEALTH_CHECK_FAIL; @@ -399,7 +399,7 @@ xine_health_check_t* _x_health_check_xv (xine_health_check_t* hc) { } dlerror(); /* clear error code */ - xv_handle = dlopen("libXv.so", RTLD_LAZY); + xv_handle = dlopen(LIBXV_SO, RTLD_LAZY); if(!xv_handle) { hc->msg = dlerror(); /* Xv might still work when linked statically into the output plugin, -- cgit v1.2.3