Skip to content

Commit

Permalink
build sqlite3 and pdo_sqlite shared, not static like it's by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dzuelke committed May 2, 2014
1 parent f5c6f4b commit 4b7c513
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions support/build/php-5.5.11
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ curl -L ${dep_url} | tar xz
pushd ${dep_dirname}
export PATH=${OUT_PREFIX}/bin:$PATH
# cannot be built shared: date, ereg, opcache (always), pcre, reflection, sockets (?), spl, standard,
# sqlite3 and pdo_sqlite are on by default but we're building them shared on purpose
LD_LIBRARY_PATH=${OUT_PREFIX} ./configure \
--prefix=${OUT_PREFIX} \
--with-config-file-path=/app/.heroku/php/etc/php \
Expand Down Expand Up @@ -53,6 +54,8 @@ LD_LIBRARY_PATH=${OUT_PREFIX} ./configure \
--enable-pcntl=shared \
--enable-shmop=shared \
--enable-soap=shared \
--with-sqlite3=shared \
--with-pdo-sqlite=shared \
--with-xmlrpc=shared \
--with-xsl=shared
make -s -j 9
Expand Down

0 comments on commit 4b7c513

Please sign in to comment.