summaryrefslogtreecommitdiff
path: root/package/cifs-utils/patches/patch-Makefile_am
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-28 16:33:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-28 16:33:41 +0100
commit444176e8aa3a958f147f15542793678b619be262 (patch)
tree3bae8dc0b3fd98ebffc239c6f4d0bb2e7604d957 /package/cifs-utils/patches/patch-Makefile_am
parent05abc676e9272fdf933e0ea376bb12d8ec497467 (diff)
fix host build stuff and update-patches, convert cifs-utils and libaudiofile to new autotool infrastructure
Diffstat (limited to 'package/cifs-utils/patches/patch-Makefile_am')
-rw-r--r--package/cifs-utils/patches/patch-Makefile_am46
1 files changed, 46 insertions, 0 deletions
diff --git a/package/cifs-utils/patches/patch-Makefile_am b/package/cifs-utils/patches/patch-Makefile_am
new file mode 100644
index 000000000..4f7b9dc74
--- /dev/null
+++ b/package/cifs-utils/patches/patch-Makefile_am
@@ -0,0 +1,46 @@
+--- cifs-utils-6.1.orig/Makefile.am 2013-07-02 21:13:33.000000000 +0200
++++ cifs-utils-6.1/Makefile.am 2013-10-28 07:33:27.000000000 +0100
+@@ -4,7 +4,7 @@ ACLOCAL_AMFLAGS = -I aclocal
+ root_sbindir = $(ROOTSBINDIR)
+ root_sbin_PROGRAMS = mount.cifs
+ mount_cifs_SOURCES = mount.cifs.c mtab.c resolve_host.c util.c
+-mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD)
++mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD) $(LIBOBJS)
+
+ man_MANS = mount.cifs.8
+ include_HEADERS = cifsidmap.h
+@@ -16,7 +16,7 @@ clean-local: clean-local-upcall clean-lo
+ if CONFIG_CIFSUPCALL
+ sbin_PROGRAMS += cifs.upcall
+ cifs_upcall_SOURCES = cifs.upcall.c data_blob.c asn1.c spnego.c
+-cifs_upcall_LDADD = -ltalloc -lkeyutils $(KRB5_LDADD)
++cifs_upcall_LDADD = -ltalloc -lkeyutils $(KRB5_LDADD) $(LIBOBJS)
+ man_MANS += cifs.upcall.8
+
+ #
+@@ -35,14 +35,14 @@ endif
+ if CONFIG_CIFSCREDS
+ bin_PROGRAMS += cifscreds
+ cifscreds_SOURCES = cifscreds.c resolve_host.c util.c
+-cifscreds_LDADD = -lkeyutils
++cifscreds_LDADD = -lkeyutils $(LIBOBJS)
+ man_MANS += cifscreds.1
+ endif
+
+ if CONFIG_CIFSIDMAP
+ sbin_PROGRAMS += cifs.idmap
+ cifs_idmap_SOURCES = cifs.idmap.c idmap_plugin.c
+-cifs_idmap_LDADD = -lkeyutils -ldl
++cifs_idmap_LDADD = -lkeyutils -ldl $(LIBOBJS)
+ man_MANS += cifs.idmap.8
+
+ cifs.idmap.8: cifs.idmap.8.in
+@@ -57,7 +57,7 @@ endif
+ if CONFIG_CIFSACL
+ bin_PROGRAMS += getcifsacl
+ getcifsacl_SOURCES = getcifsacl.c idmap_plugin.c
+-getcifsacl_LDADD = -ldl
++getcifsacl_LDADD = -ldl $(LIBOBJS)
+ man_MANS += getcifsacl.1
+
+ getcifsacl.1: getcifsacl.1.in