diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-05-30 23:30:26 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-05-30 23:30:26 +0000 |
commit | a1aa892c8a62fca89274e2d489b5516d5f8d0142 (patch) | |
tree | 952a7bf090f47e7cf2edeb3aed148ae1342de8d9 /src | |
parent | 9e801ef23dcf2a43d3977cebb088af099d499bb6 (diff) | |
download | xine-lib-a1aa892c8a62fca89274e2d489b5516d5f8d0142.tar.gz xine-lib-a1aa892c8a62fca89274e2d489b5516d5f8d0142.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-utils/xine_check.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |