Changes in tools/export.sh [db3c6795:3dd99dde] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/export.sh

    rdb3c6795 r3dd99dde  
    4242        uspace/lib/libclui.a \
    4343        uspace/lib/libc.a \
     44        uspace/lib/libcongfx.a \
     45        uspace/lib/libconsole.a \
    4446        uspace/lib/libcpp.a \
    4547        uspace/lib/libdisplay.a \
     
    4749        uspace/lib/libgfxfont.a \
    4850        uspace/lib/libgfximage.a \
     51        uspace/lib/libinput.a \
    4952        uspace/lib/libhound.a \
    5053        uspace/lib/libipcgfx.a \
    5154        uspace/lib/libmath.a \
    5255        uspace/lib/libmemgfx.a \
     56        uspace/lib/liboutput.a \
    5357        uspace/lib/libpcm.a \
    5458        uspace/lib/libpixconv.a \
     
    6670ninja devel-headers
    6771
     72#
     73# Meson may produce thin archives. These cannot be simply copied to another
     74# location. Copy them using ar instead, converting them to regular,
     75# non-thin archives in the process.
     76#
    6877mkdir -p "$EXPORT_DIR/lib"
    69 cp -t "$EXPORT_DIR/lib" $EXPORT_LIBS
     78for lpath in $EXPORT_LIBS; do
     79        dest="$EXPORT_DIR/lib/$(basename $lpath)"
     80        ar -t $lpath | xargs ar crs $dest
     81done
     82
    7083rm -rf "$EXPORT_DIR/include"
    7184cp -R dist/include "$EXPORT_DIR/include"
Note: See TracChangeset for help on using the changeset viewer.