Changeset dc5c303 in mainline for tools/export.sh


Ignore:
Timestamp:
2023-12-28T13:59:23Z (15 months ago)
Author:
GitHub <noreply@…>
Children:
6b66de6b
Parents:
42c2e65 (diff), f87ff8e (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.
git-author:
boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
git-committer:
GitHub <noreply@…> (2023-12-28 13:59:23)
Message:

Merge branch 'master' into topic/packet-capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/export.sh

    r42c2e65 rdc5c303  
    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.