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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/export.sh

    rdbf1be5 r3dd99dde  
    4343        uspace/lib/libc.a \
    4444        uspace/lib/libcongfx.a \
     45        uspace/lib/libconsole.a \
    4546        uspace/lib/libcpp.a \
    4647        uspace/lib/libdisplay.a \
     
    4849        uspace/lib/libgfxfont.a \
    4950        uspace/lib/libgfximage.a \
     51        uspace/lib/libinput.a \
    5052        uspace/lib/libhound.a \
    5153        uspace/lib/libipcgfx.a \
    5254        uspace/lib/libmath.a \
    5355        uspace/lib/libmemgfx.a \
     56        uspace/lib/liboutput.a \
    5457        uspace/lib/libpcm.a \
    5558        uspace/lib/libpixconv.a \
     
    6770ninja devel-headers
    6871
     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#
    6977mkdir -p "$EXPORT_DIR/lib"
    70 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
    7183rm -rf "$EXPORT_DIR/include"
    7284cp -R dist/include "$EXPORT_DIR/include"
Note: See TracChangeset for help on using the changeset viewer.