summaryrefslogtreecommitdiff
blob: bcdc70e976be5b0abe0d9f15137eccb93e34d0f0 (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
Index: libbtctl-0.10.0/src/Makefile.am
===================================================================
--- libbtctl-0.10.0.orig/src/Makefile.am
+++ libbtctl-0.10.0/src/Makefile.am
@@ -37,27 +37,27 @@ obex_server_source_test_LDADD = \
 	libbtctl.la \
 	$(BTCTL_LIBS) $(BLUETOOTH_LIBS) $(OPENOBEX_LIBS)
 
-btctl_async_test_LDFLAGS= \
+btctl_async_test_LDADD = \
 	libbtctl.la  $(BTCTL_LIBS) \
 	$(BLUETOOTH_LIBS) $(OPENOBEX_LIBS)
 
-btobexclient_test_LDFLAGS= \
+btobexclient_test_LDADD = \
 	libbtctl.la  $(BTCTL_LIBS) \
 	$(BLUETOOTH_LIBS) $(OPENOBEX_LIBS)
 
-btobex_test_LDFLAGS= \
+btobex_test_LDADD = \
 	libbtctl.la  $(BTCTL_LIBS) \
 	$(BLUETOOTH_LIBS) $(OPENOBEX_LIBS)
 
-btctl_discovery_test_LDFLAGS= \
+btctl_discovery_test_LDADD = \
 	libbtctl.la  $(BTCTL_LIBS) \
 	$(BLUETOOTH_LIBS) $(OPENOBEX_LIBS)
 
-btlist_LDFLAGS = \
+btlist_LDADD = \
 	libbtctl.la  $(BTCTL_LIBS) \
 	$(BLUETOOTH_LIBS) $(OPENOBEX_LIBS)
 
-btsignal_watch_LDFLAGS = \
+btsignal_watch_LDADD = \
 	libbtctl.la $(BTCTL_LIBS) \
 	$(BLUETOOTH_LIBS) $(OPENOBEX_LIBS)
 
@@ -80,7 +80,8 @@ pkginclude_HEADERS = \
 	btobex-client.h btctl-types.h
 
 libbtctl_la_LDFLAGS = \
-	-version-info $(BTCTL_LT_VERSION) \
+	-version-info $(BTCTL_LT_VERSION)
+libbtctl_la_LIBADD = \
 	$(BTCTL_LIBS) $(BLUETOOTH_LIBS) $(OPENOBEX_LIBS)
 
 
@@ -123,6 +124,7 @@ btctl-py.c: btctl.defs btctl.override
 
 btctl_la_SOURCES = btctl-py.c btctl-pymodule.c
 btctl_la_LIBADD = libbtctl.la
-btctl_la_LDFLAGS = $(BTCTLPY_LIBS) -module -avoid-version
+btctl_la_LDFLAGS = -module -avoid-version
+btctl_la_LIBADD = $(BTCTLPY_LIBS)
 endif