aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2013-01-30 16:58:46 -0600
committerPeter Seebach <peter.seebach@windriver.com>2013-01-30 17:00:43 -0600
commit956747636125cfe95d841c162d5411df22efb29e (patch)
tree46b2b69ac52b7579118cad206ca13fb0ebb253cb /Makefile.in
parenta14fe9df8a7eefdb9b82dcefd5960a8a86e53738 (diff)
downloadpseudo-956747636125cfe95d841c162d5411df22efb29e.tar.gz
pseudo-956747636125cfe95d841c162d5411df22efb29e.tar.bz2
pseudo-956747636125cfe95d841c162d5411df22efb29e.zip
Add sqlite-lib setting.pseudo-1.4.2PSEUDO_1_4_2
There's a few circumstances where sqlite's libdir isn't the same as the directory name we want to use for libpseudo.so, so make it a separate setting. This may obviate the need for --with-static-sqlite. Signed-off-by: seebs <peter.seebach@windriver.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index c76e82e..f79d64b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -22,6 +22,7 @@ PREFIX=@PREFIX@
LIBDIR=@LIBDIR@
SUFFIX=@SUFFIX@
SQLITE=@SQLITE@
+SQLITE_LIB=@SQLITE_LIB@
BITS=@BITS@
ARCH_FLAGS=@ARCH_FLAGS@
MARK64=@MARK64@
@@ -38,7 +39,7 @@ CFLAGS_BASE=-pipe -std=gnu99 -Wall -W -Wextra
CFLAGS_CODE=-fPIC -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE $(ARCH_FLAGS)
CFLAGS_DEFS=-DPSEUDO_PREFIX='"$(PREFIX)"' -DPSEUDO_SUFFIX='"$(SUFFIX)"' -DPSEUDO_BINDIR='"$(BIN)"' -DPSEUDO_LIBDIR='"$(LIB)"' -DPSEUDO_LOCALSTATEDIR='"$(LOCALSTATE)"' -DPSEUDO_VERSION='"$(VERSION)"'
CFLAGS_DEBUG=-O2 -g
-CFLAGS_SQL=-L$(SQLITE)/$(LIB) -I$(SQLITE)/include $(RPATH)
+CFLAGS_SQL=-L$(SQLITE)/$(SQLITE_LIB) -I$(SQLITE)/include $(RPATH)
CFLAGS_PSEUDO=$(CFLAGS_BASE) $(CFLAGS_CODE) $(CFLAGS_DEFS) \
$(CFLAGS_DEBUG) $(CFLAGS_SQL)