diff options
author | Ross Burton <ross@openedhand.com> | 2008-02-07 17:20:18 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-02-07 17:20:18 +0000 |
commit | 4b5b4604da8aefe7c58ae6a9764a05f2b75e1c46 (patch) | |
tree | 9a38f5e30cc68640cde87256ed7bd040887b0590 /meta/packages/libxsettings-client | |
parent | 11dc865863ab04e73794965e562d4880b500665b (diff) | |
download | poky-4b5b4604da8aefe7c58ae6a9764a05f2b75e1c46.tar.gz |
libxsettings-client: add patch to fix missing linking to X11, spotted by --as-needed
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3703 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libxsettings-client')
-rw-r--r-- | meta/packages/libxsettings-client/files/link-x11.patch | 11 | ||||
-rw-r--r-- | meta/packages/libxsettings-client/libxsettings-client_0.10.bb | 7 |
2 files changed, 16 insertions, 2 deletions
diff --git a/meta/packages/libxsettings-client/files/link-x11.patch b/meta/packages/libxsettings-client/files/link-x11.patch new file mode 100644 index 0000000000..ee12f0a5b3 --- /dev/null +++ b/meta/packages/libxsettings-client/files/link-x11.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | Index: Xsettings-client-0.10/Makefile.am | ||
2 | =================================================================== | ||
3 | --- Xsettings-client-0.10.orig/Makefile.am 2008-02-07 14:49:54.000000000 +0000 | ||
4 | +++ Xsettings-client-0.10/Makefile.am 2008-02-07 14:50:00.000000000 +0000 | ||
5 | @@ -9,4 +9,4 @@ | ||
6 | |||
7 | libXsettings_client_la_SOURCES= $(source_c) $(source_h) | ||
8 | |||
9 | -libXsettings_client_la_LIBADD = @X_LIBS@ | ||
10 | \ No newline at end of file | ||
11 | +libXsettings_client_la_LIBADD = @X_LIBS@ -lX11 | ||
diff --git a/meta/packages/libxsettings-client/libxsettings-client_0.10.bb b/meta/packages/libxsettings-client/libxsettings-client_0.10.bb index bc4af80170..5201f3167b 100644 --- a/meta/packages/libxsettings-client/libxsettings-client_0.10.bb +++ b/meta/packages/libxsettings-client/libxsettings-client_0.10.bb | |||
@@ -4,16 +4,19 @@ LICENSE = "BSD-X" | |||
4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
5 | DEPENDS = "virtual/libx11" | 5 | DEPENDS = "virtual/libx11" |
6 | 6 | ||
7 | PR = "r1" | 7 | PR = "r2" |
8 | 8 | ||
9 | headers = "xsettings-common.h xsettings-client.h" | 9 | headers = "xsettings-common.h xsettings-client.h" |
10 | 10 | ||
11 | SRC_URI = "http://projects.o-hand.com/matchbox/sources/optional-dependencies/Xsettings-client-0.10.tar.gz" | 11 | SRC_URI = "http://projects.o-hand.com/matchbox/sources/optional-dependencies/Xsettings-client-0.10.tar.gz \ |
12 | file://link-x11.patch;patch=1" | ||
13 | |||
12 | S = "${WORKDIR}/Xsettings-client-0.10" | 14 | S = "${WORKDIR}/Xsettings-client-0.10" |
13 | 15 | ||
14 | inherit autotools gettext | 16 | inherit autotools gettext |
15 | 17 | ||
16 | do_stage () { | 18 | do_stage () { |
19 | # TODO: replace with autotools_stage_all? | ||
17 | oe_libinstall -so libXsettings-client ${STAGING_LIBDIR} | 20 | oe_libinstall -so libXsettings-client ${STAGING_LIBDIR} |
18 | 21 | ||
19 | for h in ${headers}; do | 22 | for h in ${headers}; do |