Patchwork [04/19] xorg-lib/libx11: Added -ldl to pkgconfig

login
register
mail settings
Submitter Kim B√łndergaard
Date Aug. 9, 2013, 7:22 a.m.
Message ID <8d8574ef9a4d447f27f9e4ef6d8320dab0d75dd9.1376032874.git.kibo@prevas.dk>
Download mbox | patch
Permalink /patch/265898/
State Accepted
Delegated to: Jacob Kjaergaard
Headers show

Comments

Kim B√łndergaard - Aug. 9, 2013, 7:22 a.m.
---
 recipes/xorg-lib/libx11-1.4.4/pkgconfig.patch | 9 +++++++++
 recipes/xorg-lib/libx11_1.4.4.oe              | 1 +
 2 files changed, 10 insertions(+)
 create mode 100644 recipes/xorg-lib/libx11-1.4.4/pkgconfig.patch

Patch

diff --git a/recipes/xorg-lib/libx11-1.4.4/pkgconfig.patch b/recipes/xorg-lib/libx11-1.4.4/pkgconfig.patch
new file mode 100644
index 0000000..9374c45
--- /dev/null
+++ b/recipes/xorg-lib/libx11-1.4.4/pkgconfig.patch
@@ -0,0 +1,9 @@ 
+--- src/x11.pc.in	2013-06-26 14:08:12.661020112 +0200
++++ src/x11.pc.in	2013-06-26 14:07:37.681021146 +0200
+@@ -11,5 +11,5 @@
+ Requires: xproto @XKBPROTO_REQUIRES@
+ Requires.private: @X11_EXTRA_DEPS@
+ Cflags: -I${includedir} @XTHREAD_CFLAGS@
+-Libs: -L${libdir} -lX11
++Libs: -L${libdir} -lX11 -ldl
+ Libs.private: @XTHREADLIB@
diff --git a/recipes/xorg-lib/libx11_1.4.4.oe b/recipes/xorg-lib/libx11_1.4.4.oe
index aed64c4..37ee5a8 100644
--- a/recipes/xorg-lib/libx11_1.4.4.oe
+++ b/recipes/xorg-lib/libx11_1.4.4.oe
@@ -17,6 +17,7 @@  SRC_URI += " file://keysymdef_include.patch \
              file://x11_disable_makekeys.patch \
              file://0001-Add-_XGetRequest-as-substitute-for-GetReq-GetReqExtr.patch \
              file://makekeys_crosscompile.patch \
+             file://pkgconfig.patch \
              "