From f25500b374e134b4ea06d5ec8f1e28ea2958b066 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Tue, 13 May 2003 18:31:15 +0000 Subject: HPUX fix from Gansser, Martin CVS patchset: 4841 CVS date: 2003/05/13 18:31:15 --- configure.ac | 2 +- src/xine-engine/load_plugins.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index b46099a38..64d80a8af 100644 --- a/configure.ac +++ b/configure.ac @@ -183,7 +183,7 @@ case "$host" in *-*-hpux11*) THREAD_LIBS=" -lpthread" THREAD_CFLAGS="-D_REENTRANT" - CFLAGS="$CFLAGS $THREAD_CFLAGS -DHPUX" + CFLAGS="$CFLAGS $THREAD_CFLAGS" ;; diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 018170529..c3c8e1e84 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.149 2003/04/21 06:12:23 f1rmb Exp $ + * $Id: load_plugins.c,v 1.150 2003/05/13 18:31:16 f1rmb Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -279,7 +279,11 @@ static void collect_plugins(xine_t *this, char *path){ * a) don't install .la files on user's system * b) also cache negative hits, ie. files that failed to dlopen() */ - if(!strstr(str, ".so") ) +#if defined(__hpux) + if(!strstr(str, ".sl")) +#else + if(!strstr(str, ".so")) +#endif break; plugin_name = str; -- cgit v1.2.3