summaryrefslogtreecommitdiff
path: root/src/post/mosaico/Makefile.am
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-22 20:44:58 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-22 20:44:58 +0000
commit62b1bb0c213c37b58e5a7bb8359f41168c34f817 (patch)
treef1de97d131b2fa1bf0a75ab75c1f6d329df7555d /src/post/mosaico/Makefile.am
parent17a17afd5835c29cc8da396771278f2ead31e8fe (diff)
downloadxine-lib-62b1bb0c213c37b58e5a7bb8359f41168c34f817.tar.gz
xine-lib-62b1bb0c213c37b58e5a7bb8359f41168c34f817.tar.bz2
Fix crosscompile to use build and host definition from autoconf, rather than using hacksaround. Also replace the whole pthread check with an improved macro originally written for XCB, this way it's not going to try linking the fake -lpthread on Darwin, and it also does not force a -I/usr/local/include on FreeBSD. The new macro respects the same variables set by ports, so that it's even more transparent to FreeBSD users.
CVS patchset: 8739 CVS date: 2007/03/22 20:44:58
Diffstat (limited to 'src/post/mosaico/Makefile.am')
-rw-r--r--src/post/mosaico/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post/mosaico/Makefile.am b/src/post/mosaico/Makefile.am
index aefb290c6..f5497b1af 100644
--- a/src/post/mosaico/Makefile.am
+++ b/src/post/mosaico/Makefile.am
@@ -5,11 +5,11 @@ libdir = $(XINE_PLUGINDIR)/post
lib_LTLIBRARIES = xineplug_post_mosaico.la xineplug_post_switch.la
xineplug_post_mosaico_la_SOURCES = mosaico.c
-xineplug_post_mosaico_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
+xineplug_post_mosaico_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS)
xineplug_post_mosaico_la_CFLAGS = $(VISIBILITY_FLAG)
xineplug_post_mosaico_la_LDFLAGS = -avoid-version -module
xineplug_post_switch_la_SOURCES = switch.c
-xineplug_post_switch_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
+xineplug_post_switch_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS)
xineplug_post_switch_la_CFLAGS = $(VISIBILITY_FLAG)
xineplug_post_switch_la_LDFLAGS = -avoid-version -module