osx: provide a static libintl.a for libpq client statically linked by postgis.input
This commit is contained in:
parent
0dff982589
commit
75fef5e72a
1 changed files with 15 additions and 1 deletions
|
@ -128,11 +128,25 @@ make -j4
|
||||||
make install
|
make install
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
|
# gettext which provides libintl for libpq
|
||||||
|
wget http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.1.1.tar.gz
|
||||||
|
tar xvf gettext-0.18.1.1.tar.gz
|
||||||
|
cd gettext-0.18.1.1
|
||||||
|
export CC=gcc
|
||||||
|
export CXX=g++
|
||||||
|
./configure --prefix=$PREFIX --enable-static --disable-shared --disable-dependency-tracking \
|
||||||
|
--without-included-gettext --disable-debug --without-included-glib \
|
||||||
|
--without-included-libcroco --without-included-libxml \
|
||||||
|
--without-emacs --without-git --without-cvs
|
||||||
|
make -j4
|
||||||
|
make install
|
||||||
|
cd ../
|
||||||
|
|
||||||
|
|
||||||
# postgis
|
# postgis
|
||||||
# install postgres 9.x client from http://www.kyngchaos.com/software/postgres
|
# install postgres 9.x client from http://www.kyngchaos.com/software/postgres
|
||||||
# then copy the static libpq.a to a prioritized directory:
|
# then copy the static libpq.a to a prioritized directory:
|
||||||
cp /usr/local/pgsql/lib/libpq.a osx/sources/lib/
|
cp /usr/local/pgsql/lib/libpq.a osx/sources/lib/libpq_s.a
|
||||||
|
|
||||||
|
|
||||||
# gdal 1.8.1
|
# gdal 1.8.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue