caribou 0.4.13
[git/cygwin-packages/caribou.git] / 0.4.1-no-undefined.patch
CommitLineData
8843b6c6
YS
1--- origsrc/caribou-0.4.1/libcaribou/Makefile.am 2011-10-09 15:38:14.000000000 -0500
2+++ src/caribou-0.4.1/libcaribou/Makefile.am 2011-11-18 10:59:05.255984600 -0600
3@@ -26,6 +26,8 @@ caribou_headers = \
4 libcaribouinclude_HEADERS = \
5 $(caribou_headers)
6
7+libcaribou_la_LDFLAGS = -no-undefined
8+
9 libcaribou_la_LIBADD = \
10 $(LIBCARIBOU_LIBS)
11
12@@ -62,8 +64,13 @@ typelib_DATA = Caribou-1.0.typelib
13 Caribou-1.0.gir: _Caribou-1.0.gir
14 $(top_srcdir)/tools/fix_gir.py $< > $@
15
16-Caribou-1.0.typelib: Caribou-1.0.gir
17- @INTROSPECTION_COMPILER@ --shared-library=libcaribou.so.0 -o $@ $^
18+# We have to extract our own dlname from libfolks.la; see bgo#658002.
19+# This is what g-ir-scanner does.
20+libcaribou_dlname = \
21+ `$(SED) -n "s/^dlname='\([A-Za-z0-9.+-]\+\)'/\1/p" libcaribou.la`
22+
23+Caribou-1.0.typelib: Caribou-1.0.gir libcaribou.la
24+ @INTROSPECTION_COMPILER@ --shared-library=$(libcaribou_dlname) -o $@ $^
25
26 Caribou-1.0.gir caribou-internals-1.0.vapi caribou-1.0.vapi: libcaribou.la
27
28--- origsrc/caribou-0.4.1/modules/gtk2/Makefile.am 2011-10-09 15:38:14.000000000 -0500
29+++ src/caribou-0.4.1/modules/gtk2/Makefile.am 2011-11-18 10:28:52.844320600 -0600
30@@ -27,6 +27,7 @@ libcaribou_gtk_module_la_LIBADD = \
31 libcaribou_gtk_module_la_LDFLAGS = \
32 -avoid-version \
33 -module \
34+ -no-undefined \
35 $(NULL)
36
37 EXTRA_DIST = \
38--- origsrc/caribou-0.4.1/modules/gtk3/Makefile.am 2011-10-09 15:38:14.000000000 -0500
39+++ src/caribou-0.4.1/modules/gtk3/Makefile.am 2011-11-18 10:28:57.068562200 -0600
40@@ -26,6 +26,7 @@ libcaribou_gtk_module_la_LIBADD = \
41 libcaribou_gtk_module_la_LDFLAGS = \
42 -avoid-version \
43 -module \
44+ -no-undefined \
45 $(NULL)
46
47 EXTRA_DIST = \
This page took 0.026048 seconds and 5 git commands to generate.