components/sqlite-3/patches/sqlite3-02-zrecord.patch
author Stacy Yeh <stacy.yeh@oracle.com>
Tue, 05 Jul 2016 13:55:03 -0700
changeset 6349 00824654920d
parent 5421 7c37e32758f1
permissions -rw-r--r--
23085379 Upgrade sqlite-3 to 3.12.2

# This fix is needed for sqlite3 to run on Solaris.  See Bug 15566164 and
# Bug 15705787 for details.
# Need to determine if these changes are still applicable to the latest version,
# and if so, then submit them upstream. 
--- a/Makefile.am.orig	2015-12-21 15:35:19.261166407 +0530
+++ b/Makefile.am	2015-12-21 15:36:15.587286651 +0530
@@ -9,6 +9,7 @@ bin_PROGRAMS = sqlite3
 sqlite3_SOURCES = shell.c sqlite3.h
 EXTRA_sqlite3_SOURCES = sqlite3.c
 sqlite3_LDADD = @EXTRA_SHELL_OBJ@ @READLINE_LIBS@
+sqlite3_LDFLAGS = -Wl,-zrecord
 sqlite3_DEPENDENCIES = @EXTRA_SHELL_OBJ@
 sqlite3_CFLAGS = $(AM_CFLAGS) -DSQLITE_ENABLE_EXPLAIN_COMMENTS