Commit e08e828e3e5dcf477d51c1204b517e790741f30c

Thomas de Grivel 2023-02-04T15:46:15

make libtool happy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index 1eeb67f..f4c7024 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -327,7 +327,7 @@ shpkg_fake () {
 }
 
 shpkg_fake_dir () {
-    echo "${SHPKG_FAKE_DIR}/$(shpkg_dir "$1")"
+    echo "${SHPKG_FAKE_DIR}/$(shpkg_dir "$1")/${SHPKG_PREFIX}"
 }
 
 shpkg_package () {
@@ -408,6 +408,7 @@ shpkg_install () {
 	        echo "Version: ${SHPKG_REPO_VERSION}" > "${SHPKG_REPO_INSTALLED}"
                 verbose -n 1 "cat ${SHPKG_REPO_PACKAGE_CHECKSUM} >> ${SHPKG_REPO_INSTALLED}"
                 cat "${SHPKG_REPO_PACKAGE_CHECKSUM}" >> "${SHPKG_REPO_INSTALLED}"
+                verbose 1 libtool --mode=finish "${SHPKG_LIB_DIR}"
 	    fi
         fi
     done