All of lore.kernel.org
 help / color / mirror / Atom feed
* [STABLE][PATCH] sqlite: use LDFLAGS (fixes QA error)
@ 2009-04-05 10:36 Jeremy Lainé
  2009-04-05 14:38 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Lainé @ 2009-04-05 10:36 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Jeremy Lainé

From: Jeremy Lainé <jeremy.laine@m4x.org>


Signed-off-by: Jeremy Lainé <jeremy.laine@m4x.org>
---
 .../sqlite-2.8.17/mainmk_build_dynamic.patch       |   18 ++++++++++--------
 recipes/sqlite/sqlite_2.8.17.bb                    |    2 +-
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/recipes/sqlite/sqlite-2.8.17/mainmk_build_dynamic.patch b/recipes/sqlite/sqlite-2.8.17/mainmk_build_dynamic.patch
index e936f81..914422f 100644
--- a/recipes/sqlite/sqlite-2.8.17/mainmk_build_dynamic.patch
+++ b/recipes/sqlite/sqlite-2.8.17/mainmk_build_dynamic.patch
@@ -1,6 +1,6 @@
-diff -bur sqlite-2.8.17~orig/main.mk sqlite-2.8.17/main.mk
---- sqlite-2.8.17~orig/main.mk	2005-04-23 17:43:23.000000000 -0500
-+++ sqlite-2.8.17/main.mk	2006-02-13 03:31:03.000000000 -0600
+diff -urN sqlite-2.8.17.orig/main.mk sqlite-2.8.17/main.mk
+--- sqlite-2.8.17.orig/main.mk	2005-04-23 22:43:23.000000000 +0000
++++ sqlite-2.8.17/main.mk	2009-04-02 20:10:36.000000000 +0000
 @@ -139,7 +139,7 @@
  # This is the default Makefile target.  The objects listed here
  # are what get build when you type just "make" with no arguments.
@@ -17,13 +17,15 @@ diff -bur sqlite-2.8.17~orig/main.mk sqlite-2.8.17/main.mk
 -libsqlite.a:	$(LIBOBJ)
 -	$(AR) libsqlite.a $(LIBOBJ)
 -	$(RANLIB) libsqlite.a
-+libsqlite.so:	$(LIBOBJ)
-+	$(CC) -shared -o libsqlite.so -Wl,-soname,libsqlite.so.0 $(LIBOBJ)
- 
+-
 -sqlite$(EXE):	$(TOP)/src/shell.c libsqlite.a sqlite.h
-+sqlite$(EXE):	$(TOP)/src/shell.c libsqlite.so sqlite.h
- 	$(TCCX) $(READLINE_FLAGS) -o sqlite$(EXE) $(TOP)/src/shell.c \
+-	$(TCCX) $(READLINE_FLAGS) -o sqlite$(EXE) $(TOP)/src/shell.c \
 -		libsqlite.a $(LIBREADLINE) $(THREADLIB)
++libsqlite.so:	$(LIBOBJ)
++	$(CC) $(LDFLAGS) -shared -o libsqlite.so -Wl,-soname,libsqlite.so.0 $(LIBOBJ)
++
++sqlite$(EXE):	$(TOP)/src/shell.c libsqlite.so sqlite.h
++	$(TCCX) $(LDFLAGS) $(READLINE_FLAGS) -o sqlite$(EXE) $(TOP)/src/shell.c \
 +		-lsqlite $(LIBREADLINE) $(THREADLIB)
  
  sqlite_analyzer$(EXE):	$(TOP)/src/tclsqlite.c libsqlite.a $(TESTSRC) \
diff --git a/recipes/sqlite/sqlite_2.8.17.bb b/recipes/sqlite/sqlite_2.8.17.bb
index b5939d9..9f6ec7e 100644
--- a/recipes/sqlite/sqlite_2.8.17.bb
+++ b/recipes/sqlite/sqlite_2.8.17.bb
@@ -4,7 +4,7 @@ SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = "readline ncurses"
 LICENSE = "PD"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://www.hwaci.com/sw/sqlite/sqlite-${PV}.tar.gz \
        file://mainmk_build_dynamic.patch;patch=1 \
-- 
1.6.2.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-05 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-05 10:36 [STABLE][PATCH] sqlite: use LDFLAGS (fixes QA error) Jeremy Lainé
2009-04-05 14:38 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.