summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-05-13 18:31:15 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-05-13 18:31:15 +0000
commitf25500b374e134b4ea06d5ec8f1e28ea2958b066 (patch)
treef5f311f1cb57493c7256acc047730b341ce5c1d5
parent8f0f8da380bec0778a0b0bc89b28b352e1a39e05 (diff)
downloadxine-lib-f25500b374e134b4ea06d5ec8f1e28ea2958b066.tar.gz
xine-lib-f25500b374e134b4ea06d5ec8f1e28ea2958b066.tar.bz2
HPUX fix from Gansser, Martin <MGansser@rand.de>
CVS patchset: 4841 CVS date: 2003/05/13 18:31:15
-rw-r--r--configure.ac2
-rw-r--r--src/xine-engine/load_plugins.c8
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;