1
0

patch-Makefile_am 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --- cifs-utils-6.1.orig/Makefile.am 2013-07-02 21:13:33.000000000 +0200
  2. +++ cifs-utils-6.1/Makefile.am 2013-10-28 07:33:27.000000000 +0100
  3. @@ -4,7 +4,7 @@ ACLOCAL_AMFLAGS = -I aclocal
  4. root_sbindir = $(ROOTSBINDIR)
  5. root_sbin_PROGRAMS = mount.cifs
  6. mount_cifs_SOURCES = mount.cifs.c mtab.c resolve_host.c util.c
  7. -mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD)
  8. +mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD) $(LIBOBJS)
  9. man_MANS = mount.cifs.8
  10. include_HEADERS = cifsidmap.h
  11. @@ -16,7 +16,7 @@ clean-local: clean-local-upcall clean-lo
  12. if CONFIG_CIFSUPCALL
  13. sbin_PROGRAMS += cifs.upcall
  14. cifs_upcall_SOURCES = cifs.upcall.c data_blob.c asn1.c spnego.c
  15. -cifs_upcall_LDADD = -ltalloc -lkeyutils $(KRB5_LDADD)
  16. +cifs_upcall_LDADD = -ltalloc -lkeyutils $(KRB5_LDADD) $(LIBOBJS)
  17. man_MANS += cifs.upcall.8
  18. #
  19. @@ -35,14 +35,14 @@ endif
  20. if CONFIG_CIFSCREDS
  21. bin_PROGRAMS += cifscreds
  22. cifscreds_SOURCES = cifscreds.c resolve_host.c util.c
  23. -cifscreds_LDADD = -lkeyutils
  24. +cifscreds_LDADD = -lkeyutils $(LIBOBJS)
  25. man_MANS += cifscreds.1
  26. endif
  27. if CONFIG_CIFSIDMAP
  28. sbin_PROGRAMS += cifs.idmap
  29. cifs_idmap_SOURCES = cifs.idmap.c idmap_plugin.c
  30. -cifs_idmap_LDADD = -lkeyutils -ldl
  31. +cifs_idmap_LDADD = -lkeyutils -ldl $(LIBOBJS)
  32. man_MANS += cifs.idmap.8
  33. cifs.idmap.8: cifs.idmap.8.in
  34. @@ -57,7 +57,7 @@ endif
  35. if CONFIG_CIFSACL
  36. bin_PROGRAMS += getcifsacl
  37. getcifsacl_SOURCES = getcifsacl.c idmap_plugin.c
  38. -getcifsacl_LDADD = -ldl
  39. +getcifsacl_LDADD = -ldl $(LIBOBJS)
  40. man_MANS += getcifsacl.1
  41. getcifsacl.1: getcifsacl.1.in