Blame ecryptfs-utils-74-build.patch

Michal Hlavinka a225d8
diff -up ecryptfs-utils-74/src/libecryptfs/Makefile.am.486139 ecryptfs-utils-74/src/libecryptfs/Makefile.am
Michal Hlavinka a225d8
--- ecryptfs-utils-74/src/libecryptfs/Makefile.am.486139	2009-04-20 11:03:03.000000000 +0200
Michal Hlavinka a225d8
+++ ecryptfs-utils-74/src/libecryptfs/Makefile.am	2009-04-23 17:03:16.178703120 +0200
Michal Hlavinka a225d8
@@ -2,6 +2,8 @@ MAINTAINERCLEANFILES = $(srcdir)/Makefil
Michal Hlavinka a225d8
 
Michal Hlavinka a225d8
 lib_LTLIBRARIES = libecryptfs.la
Michal Hlavinka a225d8
 
Michal Hlavinka a225d8
+noinst_LIBRARIES = libecryptfs.a
Michal Hlavinka a225d8
+
Michal Hlavinka a225d8
 pkgconfig_DATA = libecryptfs.pc
Michal Hlavinka a225d8
 
Michal Hlavinka a225d8
 libecryptfs_la_SOURCES = \
Michal Hlavinka a225d8
@@ -20,10 +22,13 @@ libecryptfs_la_SOURCES = \
Michal Hlavinka a225d8
 	ecryptfs-stat.c \
Michal Hlavinka a225d8
 	$(top_srcdir)/src/key_mod/ecryptfs_key_mod_passphrase.c
Michal Hlavinka a225d8
 
Michal Hlavinka a225d8
+libecryptfs_a_SOURCES = $(libecryptfs_la_SOURCES)
Michal Hlavinka a225d8
+
Michal Hlavinka a225d8
 libecryptfs_la_LDFLAGS = \
Michal Hlavinka a225d8
 	-version-info @LIBECRYPTFS_LT_CURRENT@:@LIBECRYPTFS_LT_REVISION@:@LIBECRYPTFS_LT_AGE@ \
Michal Hlavinka a225d8
 	-no-undefined
Michal Hlavinka a225d8
 libecryptfs_la_CFLAGS = $(AM_CFLAGS) $(CRYPTO_CFLAGS) $(KEYUTILS_CFLAGS)
Michal Hlavinka a225d8
+libecryptfs_a_CFLAGS = $(libecryptfs_la_CFLAGS)
Michal Hlavinka a225d8
 libecryptfs_la_LIBADD = $(CRYPTO_LIBS) $(KEYUTILS_LIBS)
Michal Hlavinka a225d8
 
Michal Hlavinka a225d8
 splint:
Michal Hlavinka a225d8
diff -up ecryptfs-utils-74/src/utils/Makefile.am.486139 ecryptfs-utils-74/src/utils/Makefile.am
Michal Hlavinka a225d8
--- ecryptfs-utils-74/src/utils/Makefile.am.486139	2009-04-20 11:03:03.000000000 +0200
Michal Hlavinka a225d8
+++ ecryptfs-utils-74/src/utils/Makefile.am	2009-04-23 17:12:38.297756365 +0200
Michal Hlavinka a225d8
@@ -35,12 +35,12 @@ mount_ecryptfs_CFLAGS = $(AM_CFLAGS) $(K
Michal Hlavinka a225d8
 mount_ecryptfs_LDADD = $(top_builddir)/src/libecryptfs/libecryptfs.la $(KEYUTILS_LIBS) $(LIBGCRYPT_LIBS)
Michal Hlavinka a225d8
 umount_ecryptfs_SOURCES = umount.ecryptfs.c
Michal Hlavinka a225d8
 umount_ecryptfs_CFLAGS = $(AM_CFLAGS) $(KEYUTILS_CFLAGS)
Michal Hlavinka a225d8
-umount_ecryptfs_LDADD = $(top_builddir)/src/libecryptfs/libecryptfs.la
Michal Hlavinka a225d8
+umount_ecryptfs_LDADD = $(top_builddir)/src/libecryptfs/libecryptfs.a $(KEYUTILS_LIBS) $(CRYPTO_LIBS)
Michal Hlavinka a225d8
 ecryptfs_manager_SOURCES = manager.c io.c io.h gen_key.c
Michal Hlavinka a225d8
 ecryptfs_manager_CFLAGS = $(AM_CFLAGS) $(KEYUTILS_CFLAGS) $(LIBGCRYPT_CFLAGS)
Michal Hlavinka a225d8
 ecryptfs_manager_LDADD = $(top_builddir)/src/libecryptfs/libecryptfs.la $(KEYUTILS_LIBS) $(LIBGCRYPT_LIBS)
Michal Hlavinka a225d8
 ecryptfs_wrap_passphrase_SOURCES = ecryptfs_wrap_passphrase.c
Michal Hlavinka a225d8
-ecryptfs_wrap_passphrase_LDADD = $(top_builddir)/src/libecryptfs/libecryptfs.la
Michal Hlavinka a225d8
+ecryptfs_wrap_passphrase_LDADD = $(top_builddir)/src/libecryptfs/libecryptfs.la 
Michal Hlavinka a225d8
 ecryptfs_unwrap_passphrase_SOURCES = ecryptfs_unwrap_passphrase.c
Michal Hlavinka a225d8
 ecryptfs_unwrap_passphrase_LDADD = $(top_builddir)/src/libecryptfs/libecryptfs.la
Michal Hlavinka a225d8
 ecryptfs_insert_wrapped_passphrase_into_keyring_SOURCES = ecryptfs_insert_wrapped_passphrase_into_keyring.c