Changeset 00eeffa in mainline for meson/part/exports/copy-export.sh
- Timestamp:
- 2025-04-25T15:43:19Z (2 weeks ago)
- Children:
- 33c08929
- Parents:
- 715ae00b
- git-author:
- Matěj Volf <git@…> (2025-04-25 15:41:22)
- git-committer:
- Matěj Volf <git@…> (2025-04-25 15:43:19)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/part/exports/copy-export.sh
r715ae00b r00eeffa 47 47 sharedlib) 48 48 filename="$(basename "$2")" 49 major_versioned_name="$3" 50 # strip the last `.123` part 51 unversioned_name="$(echo "$major_versioned_name" | rev | cut -d. -f2- | rev)" 49 52 cp -L "$2" "${target_dir}/lib/$filename" 50 ln -s "$filename" "${target_dir}/lib/$3" 53 ln -s "$filename" "${target_dir}/lib/$major_versioned_name" 54 ln -s "$filename" "${target_dir}/lib/$unversioned_name" 51 55 ;; 52 56 include)
Note:
See TracChangeset
for help on using the changeset viewer.