LukeCarrier/rpm-specs — Issue #2: Work around PHP bug #48614
Author: LukeCarrier
Created: 2012-02-02 20:04:13+00:00
State: open

Upstream URL: https://bugs.php.net/bug.php?id=48614

This fix should work:

```
--- php-5.3.3.orig/configure 2010-07-21 05:53:06.000000000 -0500
+++ php-5.3.3/configure 2010-10-14 09:40:17.000000000 -0500
@@ -75183,6 +75183,12 @@

else
# use bundled libs
+
+ # This change is anchored here to avoid patch being misapplied. This really only needs to be added
+ # when pdo_sqlite is compiled shared and using the bundled sqlite3. It shouldn't hurt so long as the
+ # bundled sqlite3 is used though.
+ shared_objects_pdo_sqlite="$shared_objects_pdo_sqlite ext/sqlite3/libsqlite/sqlite3.lo"
+
if test "$enable_maintainer_zts" = "yes"; then
threadsafe_flags="-DSQLITE_THREADSAFE=1"
else
```