summaryrefslogtreecommitdiff
blob: 65d7f74e0a91c35283eacf7d3d577a35e9ace680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
From 6ad900d99bbbe1fd5987c380835b907e51d41eda Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org>
Date: Sat, 10 Mar 2012 15:59:51 +0100
Subject: [PATCH 1/3] Use libtool intermediate library instead of static
 archive

---
 configure.in               |    4 ++--
 src/common/Makefile.am     |    4 ++--
 src/time/Makefile.am       |    4 ++--
 src/time/e-map/Makefile.am |    6 +++---
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/configure.in b/configure.in
index c266d02..2d60648 100644
--- a/configure.in
+++ b/configure.in
@@ -237,12 +237,12 @@ GST_DEPRECATED_FLAGS=""
 GST_LIBS="$GST_DEPENDS_LIBS $POLKIT_GTK_LIBS"
 GST_CFLAGS="$GST_DEPENDS_CFLAGS $POLKIT_GTK_CFLAGS $GST_DEPRECATED_FLAGS"
 
-GST_TOOL_LIBS="\$(top_builddir)/src/common/libsetuptool.a $GST_LIBS"
+GST_TOOL_LIBS="\$(top_builddir)/src/common/libsetuptool.la $GST_LIBS"
 GST_TOOL_CFLAGS="-I\$(top_srcdir)/src/common $GST_CFLAGS"
 
 GST_TOOL_CLEANFILES="\$(desktop) \$(desktop).in"
 GST_TOOL_EXTRA_DIST="\$(toolpixmaps) \$(desktop).in.in" 
-GST_TOOL_DEPENDENCIES="\$(top_builddir)/src/common/libsetuptool.a"
+GST_TOOL_DEPENDENCIES="\$(top_builddir)/src/common/libsetuptool.la"
 
 AC_SUBST(GST_LIBS)
 AC_SUBST(GST_CFLAGS)
diff --git a/src/common/Makefile.am b/src/common/Makefile.am
index 6698b4d..c39c286 100644
--- a/src/common/Makefile.am
+++ b/src/common/Makefile.am
@@ -1,6 +1,6 @@
 include $(top_srcdir)/DirsMakefile
 
-noinst_LIBRARIES = libsetuptool.a
+noinst_LTLIBRARIES = libsetuptool.la
 
 INCLUDES += \
 	$(GST_CFLAGS) \
@@ -10,7 +10,7 @@ INCLUDES += \
 	-DPREFIX=\""$(prefix)"\" \
 	-DGNOMELOCALEDIR=\""$(datadir)/locale"\"
 
-libsetuptool_a_SOURCES = \
+libsetuptool_la_SOURCES = \
 	gst-dialog.c		gst-dialog.h \
 	gst-tool.c		gst-tool.h \
 	gst-platform-dialog.c	gst-platform-dialog.h \
diff --git a/src/time/Makefile.am b/src/time/Makefile.am
index e9adaf4..6ff332f 100644
--- a/src/time/Makefile.am
+++ b/src/time/Makefile.am
@@ -15,8 +15,8 @@ INCLUDES += $(GST_TOOL_CFLAGS) $(DBUS_CFLAGS)
 CLEANFILES = $(GST_TOOL_CLEANFILES)
 EXTRA_DIST = $(GST_TOOL_EXTRA_DIST)
 
-time_admin_LDADD = $(GST_TOOL_LIBS) $(DBUS_LIBS) ./e-map/libemap.a
-time_admin_DEPENDENCIES = $(GST_TOOL_DEPENDENCIES) ./e-map/libemap.a
+time_admin_LDADD = $(GST_TOOL_LIBS) $(DBUS_LIBS) ./e-map/libemap.la
+time_admin_DEPENDENCIES = $(GST_TOOL_DEPENDENCIES) ./e-map/libemap.la
 time_admin_SOURCES = \
 	time-tool.c	time-tool.h \
 	tz.c		tz.h \
diff --git a/src/time/e-map/Makefile.am b/src/time/e-map/Makefile.am
index 5828690..9d04963 100644
--- a/src/time/e-map/Makefile.am
+++ b/src/time/e-map/Makefile.am
@@ -20,13 +20,13 @@ e-map-marshal.c: e-map-marshal.list e-map-marshal.h
 
 $(e_map_la_OBJECTS): e-map-marshal.h
 
-noinst_LIBRARIES = libemap.a
+noinst_LTLIBRARIES = libemap.la
 
-#libemap_a_CFLAGS =
+#libemap_la_CFLAGS =
 
 BUILT_SOURCES= e-map-marshal.c e-map-marshal.h
 
-libemap_a_SOURCES = \
+libemap_la_SOURCES = \
 	e-map.c e-map.h \
 	$(BUILT_SOURCES)
 
-- 
1.7.8.5