Changeset 4b9213d in mainline for meson/part/exports/copy-export.sh
- Timestamp:
- 2025-04-25T16:39:10Z (2 weeks ago)
- Branches:
- master
- Children:
- 629b480
- Parents:
- 0460377
- git-author:
- Matěj Volf <git@…> (2025-04-25 16:39:10)
- git-committer:
- GitHub <noreply@…> (2025-04-25 16:39:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/part/exports/copy-export.sh
r0460377 r4b9213d 45 45 ar -t "$2" | xargs ar crs "${target_dir}/lib/$3" 46 46 ;; 47 sharedlib) 48 filename="$(basename "$2")" 49 major_versioned_name="$3" 50 # libfoo.so.5 -> libfoo.so (remove the last part delimited by dot) 51 unversioned_name="${major_versioned_name%.[0-9]*}" 52 cp -L "$2" "${target_dir}/lib/$filename" 53 ln -s "$filename" "${target_dir}/lib/$major_versioned_name" 54 ln -s "$filename" "${target_dir}/lib/$unversioned_name" 55 ;; 47 56 include) 48 57 mkdir -p "${target_dir}/include/$3"
Note:
See TracChangeset
for help on using the changeset viewer.