[postgis-tickets] r15305 - add logic to copy c and c++ libs

Regina Obe lr at pcorp.us
Mon Feb 6 09:20:22 PST 2017


Author: robe
Date: 2017-02-06 09:20:22 -0800 (Mon, 06 Feb 2017)
New Revision: 15305

Modified:
   buildbots/windows/mingw64/scripts/build_ogrfdw.sh
Log:
add logic to copy c and c++ libs

Modified: buildbots/windows/mingw64/scripts/build_ogrfdw.sh
===================================================================
--- buildbots/windows/mingw64/scripts/build_ogrfdw.sh	2017-02-06 16:33:23 UTC (rev 15304)
+++ buildbots/windows/mingw64/scripts/build_ogrfdw.sh	2017-02-06 17:20:22 UTC (rev 15305)
@@ -73,7 +73,7 @@
 
 #only package if make check succeeded
 if [ "$?" == "0" ]; then
-    cd ${SOURCE_FOLDER}
+	cd ${SOURCE_FOLDER}
 	strip *.dll
 	export REL_PGVER=${PG_VER//./} #strip the period
 	export RELDIR=${PROJECTS}/postgis/ogrfdw/builds
@@ -88,12 +88,14 @@
 	mkdir -p $outdir/share/extension
 	mkdir $outdir/lib
 	mkdir $outdir/bin
+	cp /c/ming${OS_BUILD}${GCC_TYPE}/mingw${OS_BUILD}/bin/libstdc++-6.dll $outdir/bin
+	cp /c/ming${OS_BUILD}${GCC_TYPE}/mingw${OS_BUILD}/bin/libgcc*.dll $outdir/bin
 	
 	## copy GDAL dependencies 
-    cp -p ${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}${GCC_TYPE}/bin/*.dll $outdir/bin
-    cp -p ${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}${GCC_TYPE}/bin/ogr2ogr.exe $outdir/bin
-    cp -p ${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}${GCC_TYPE}/bin/ogrinfo.exe $outdir/bin
-    cp -rp  ${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}${GCC_TYPE}/share/gdal $outdir/gdal-data
+	cp -p ${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}${GCC_TYPE}/bin/*.dll $outdir/bin
+	cp -p ${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}${GCC_TYPE}/bin/ogr2ogr.exe $outdir/bin
+	cp -p ${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}${GCC_TYPE}/bin/ogrinfo.exe $outdir/bin
+	cp -rp  ${PROJECTS}/gdal/rel-${GDAL_VER}w${OS_BUILD}${GCC_TYPE}/share/gdal $outdir/gdal-data
   
   
 	cp *.sql ${RELDIR}/${RELVERDIR}/share/extension



More information about the postgis-tickets mailing list