summaryrefslogtreecommitdiff
path: root/packages/libxsettings-client/make_pkgconfig_x11.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/libxsettings-client/make_pkgconfig_x11.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/libxsettings-client/make_pkgconfig_x11.patch')
-rw-r--r--packages/libxsettings-client/make_pkgconfig_x11.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/libxsettings-client/make_pkgconfig_x11.patch b/packages/libxsettings-client/make_pkgconfig_x11.patch
index e69de29bb2..3a386672d2 100644
--- a/packages/libxsettings-client/make_pkgconfig_x11.patch
+++ b/packages/libxsettings-client/make_pkgconfig_x11.patch
@@ -0,0 +1,21 @@
+--- libxsettings-client0-0.12/Makefile.old 2004-04-20 16:48:18.000000000 +1000
++++ libxsettings-client0-0.12/Makefile 2004-04-20 16:58:07.000000000 +1000
+@@ -20,6 +20,9 @@
+ CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
+ CPPFLAGS += -I../libxsettings
+
++CFLAGS += `pkg-config --cflags x11`
++LDFLAGS += `pkg-config --ldflags x11`
++
+ XSETTINGS_OBJS = $(patsubst %,%.os,$(XSETTINGS_MEMBERS))
+ DEPS = $(patsubst %,%.d,$(MEMBERS) $(XSETTINGS_MEMBERS))
+ SOURCES = $(patsubst %,%.c,$(MEMBERS) $(XSETTINGS_MEMBERS))
+@@ -39,7 +42,7 @@
+ ln -sf $^ $@
+
+ $(LIBXSETTINGS_SO): $(XSETTINGS_OBJS)
+- $(CC) -o $@ $^ -shared -Wl,-soname -Wl,$(LIBXSETTINGS_SO) -nostartfiles -L/usr/X11R6/lib -lX11 -L../libxsettings -lXsettings
++ $(CC) -o $@ $^ -shared -Wl,-soname -Wl,$(LIBXSETTINGS_SO) -nostartfiles $(LDFLAGS) -L../libxsettings -lXsettings
+
+ install-program: $(LIBXSETTINGS_SO)
+ install -d $(DESTDIR)$(PREFIX)/lib