Changeset 1c6c3e1d in mainline for tools/export.sh


Ignore:
Timestamp:
2023-10-22T17:55:33Z (21 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
ticket/834-toolchain-update
Children:
350ec74
Parents:
315d487 (diff), 133461c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ticket

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/export.sh

    r315d487 r1c6c3e1d  
    6767ninja devel-headers
    6868
     69#
     70# Meson may produce thin archives. These cannot be simply copied to another
     71# location. Copy them using ar instead, converting them to regular,
     72# non-thin archives in the process.
     73#
    6974mkdir -p "$EXPORT_DIR/lib"
    70 cp -t "$EXPORT_DIR/lib" $EXPORT_LIBS
     75for lpath in $EXPORT_LIBS; do
     76        dest="$EXPORT_DIR/lib/$(basename $lpath)"
     77        ar -t $lpath | xargs ar crs $dest
     78done
     79
    7180rm -rf "$EXPORT_DIR/include"
    7281cp -R dist/include "$EXPORT_DIR/include"
Note: See TracChangeset for help on using the changeset viewer.