Assembla home | Assembla project page
 

Changeset 52

Show
Ignore:
Timestamp:
05/04/08 16:34:59 (8 months ago)
Author:
andreasf
Message:

More elegant fix for -lpthread.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • BePorts/trunk/x11-libs/cairo/cairo-master.diff

    r51 r52  
    181181                                     BBitmap* bmp, 
    182182diff --git a/test/Makefile.am b/test/Makefile.am 
    183 index ec98a49..9e033af 100644 
     183index ec98a49..225b6d2 100644 
    184184--- a/test/Makefile.am 
    185185+++ b/test/Makefile.am 
    186 @@ -826,7 +826,7 @@ $(top_builddir)/test/pdiff/libpdiff.la: 
     186@@ -826,8 +826,10 @@ $(top_builddir)/test/pdiff/libpdiff.la: 
    187187        cd $(top_builddir)/test/pdiff && $(MAKE) $(AM_MAKEFLAGS) libpdiff.la 
    188188  
    189189 if HAVE_PTHREAD 
    190 -LDADD += -lpthread 
    191 +#LDADD += -lpthread 
     190+if !CAIRO_HAS_BEOS_SURFACE 
     191 LDADD += -lpthread 
    192192 endif 
     193+endif 
    193194  
    194195 check_PROGRAMS += imagediff png-flatten 
     196