Changes in tools/export.sh [a381b52:dbf1be5] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/export.sh

    ra381b52 rdbf1be5  
    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 #
    7469mkdir -p "$EXPORT_DIR/lib"
    75 for lpath in $EXPORT_LIBS; do
    76         dest="$EXPORT_DIR/lib/$(basename $lpath)"
    77         ar -t $lpath | xargs ar crs $dest
    78 done
    79 
     70cp -t "$EXPORT_DIR/lib" $EXPORT_LIBS
    8071rm -rf "$EXPORT_DIR/include"
    8172cp -R dist/include "$EXPORT_DIR/include"
Note: See TracChangeset for help on using the changeset viewer.