Diff

Differences From Artifact [949945531f]:

To Artifact [f64effe9ee]:


    30     30   
    31     31   (
    32     32   	cd 'build' || exit 1
    33     33   
    34     34   	gzip -dc "../${SRC}" | tar -xf -
    35     35   
    36     36   	cd "${BUILDDIR}" || exit 1
    37         -	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    38     37   
    39     38   	cp generic/vfs.c .
    40     39   
           40  +	# Build static version
           41  +	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    41     42   	"${MAKE:-make}" || exit 1
           43  +	"${MAKE:-make}" install
    42     44   
           45  +	# Build shared version
           46  +	./configure --enable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
           47  +	"${MAKE:-make}" || exit 1
    43     48   	"${MAKE:-make}" install
    44     49   
    45     50   	mkdir "${OUTDIR}/lib" || exit 1
    46     51   	cp -r "${INSTDIR}/lib"/vfs*/ "${OUTDIR}/lib/"
    47         -	rm -f "${OUTDIR}/lib"/vfs*/*.a
           52  +	rm -f "${OUTDIR}/lib"/vfs*/*.a "${OUTDIR}/lib"/vfs*/*.so
    48     53   ) || exit 1
    49     54   
    50     55   exit 0