Ticket #87: 0001-Don-t-unconditionally-link-against-librt.patch

File 0001-Don-t-unconditionally-link-against-librt.patch, 944 bytes (added by dmik, 9 years ago)
  • configure.ac

    From 79cf1a048c40cb5c88ae8c2132675b47f23d6d83 Mon Sep 17 00:00:00 2001
    From: Dave Yeo <dave.r.yeo@gmail.com>
    Date: Sun, 28 Aug 2011 20:23:12 -0700
    Subject: [PATCH 1/5] Don't unconditionally link against librt
    
    Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com>
    ---
     configure.ac | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/configure.ac b/configure.ac
    index c7c167e..58f116d 100644
    a b dnl ===========================================================================  
    622622
    623623CAIRO_ENABLE_SURFACE_BACKEND(mime, mime, always)
    624624CAIRO_ENABLE_SURFACE_BACKEND(recording, recording, always)
    625 CAIRO_ENABLE_SURFACE_BACKEND(observer, observer, always, observer_LIBS=-lrt)
     625CAIRO_ENABLE_SURFACE_BACKEND(observer, observer, always, observer_LIBS=[CAIROPERF_LIBS])
    626626CAIRO_ENABLE_SURFACE_BACKEND(tee, tee, no)
    627627CAIRO_ENABLE_SURFACE_BACKEND(xml, xml, no, [
    628628    use_xml=$have_libz