php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58093 typo in SHARED_LIBADD definition
Submitted: 2008-03-09 11:52 UTC Modified: 2008-03-09 12:03 UTC
From: yselkowitz at users dot sourceforge dot net Assigned:
Status: Closed Package: sqlite3 (PECL)
PHP Version: 5.2.1 OS: Cygwin
Private report: No CVE-ID: None
 [2008-03-09 11:52 UTC] yselkowitz at users dot sourceforge dot net
Description:
------------
There's a typo in config.m4 which prevents -lsqlite3 from being passed to the makefile in the case that the system libsqlite3 is being used.  Patch below.

Reproduce code:
---------------
--- config.m4.orig	2008-02-29 18:33:25.000000000 -0600
+++ config.m4	2008-03-09 01:54:05.875000000 -0600
@@ -22,7 +22,7 @@
 		AC_MSG_CHECKING([for SQLite 3.3.9+])
 		PHP_CHECK_LIBRARY(sqlite3, sqlite3_prepare_v2, [
 			AC_MSG_RESULT(found)
-			PHP_ADD_LIBRARY_WITH_PATH(sqlite3, $SQLITE3_DIR/$PHP_LIBDIR, SQLITE_SHARED_LIBADD)
+			PHP_ADD_LIBRARY_WITH_PATH(sqlite3, $SQLITE3_DIR/$PHP_LIBDIR, SQLITE3_SHARED_LIBADD)
 			PHP_ADD_INCLUDE($SQLITE3_DIR/include)
 		],[
 			AC_MSG_RESULT([not found])



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-09 12:03 UTC] scottmac@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC