From 76f26c63c7fe9661dfcf267cf75638747c81b7ef Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Mon, 18 Jul 2022 19:17:26 -0400 Subject: [PATCH] build: package ltmain.sh in the libafs_tree Commit 0a58d2188[1] "cf: Run AFS_LT_INIT after setting CC" moved the location of LT_INIT (libtool initialization) to a common macro, so it is now expanded in configure-libafs. This breaks the linux DKMS packaging, which uses configure-libafs to build the kernel module, since the ltmain.sh aux file is not included in the dkms package. For now, just include the ltmain.sh aux file in the libafs_tree files to fix DKMS build. Later, we should restructure the autoconf macros so the LT_INIT macro is not expanded in the configure-libafs configure script, since we do not need libtool to build the kernel module. Thanks to Alex T Prengel for reporting this issue on the openafs-info mail list. 1) 0a58d21881d7e91deccb416e8d2c272e14b412dd cf: Run AFS_LT_INIT after setting CC Change-Id: I5aec1711ab33cc619c233889db3f55f83343c4d9 Reviewed-on: https://gerrit.openafs.org/15076 Tested-by: BuildBot Reviewed-by: Cheyenne Wills Reviewed-by: Benjamin Kaduk --- build-tools/libafsdep | 1 + 1 file changed, 1 insertion(+) diff --git a/build-tools/libafsdep b/build-tools/libafsdep index f7bfa3a4dc..c32b2f6572 100644 --- a/build-tools/libafsdep +++ b/build-tools/libafsdep @@ -2,5 +2,6 @@ config.guess config.sub git-version install-sh +ltmain.sh missing mkinstalldirs