as it should be and fix resulting pkg-config file for shared lib linking. This gets rid of overlinking with shared libs. Run through a bulk build by sthen@ ok ajacoutot@
12 lines
447 B
Plaintext
12 lines
447 B
Plaintext
$OpenBSD: patch-src_cairo_pc_in,v 1.1 2013/01/30 13:17:51 brad Exp $
|
|
--- src/cairo.pc.in.orig Tue Jan 29 07:56:53 2013
|
|
+++ src/cairo.pc.in Tue Jan 29 08:22:13 2013
|
|
@@ -8,6 +8,6 @@ Description: Multi-platform 2D graphics library
|
|
Version: @VERSION@
|
|
|
|
@PKGCONFIG_REQUIRES@: @CAIRO_REQUIRES@
|
|
-Libs: -L${libdir} -lcairo
|
|
+Libs: -L${libdir} -Wl,-rpath-link,${X11BASE}/lib -lcairo
|
|
Libs.private: @CAIRO_NONPKGCONFIG_LIBS@
|
|
Cflags: -I${includedir}/cairo
|