aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2010-09-02 16:14:26 -0500
committerPeter Seebach <peter.seebach@windriver.com>2010-09-02 16:14:26 -0500
commit2f00f68c6f14da135bf75251f3ded951023f72ee (patch)
tree7f057c66d2d8f4d4817704475a39194bb1018973 /Makefile.in
parent53569b51816ee5a244a2426fe1546c06c12af915 (diff)
downloadpseudo-2f00f68c6f14da135bf75251f3ded951023f72ee.tar.gz
pseudo-2f00f68c6f14da135bf75251f3ded951023f72ee.tar.bz2
pseudo-2f00f68c6f14da135bf75251f3ded951023f72ee.zip
Add -Wl,-R$(SQLITE)/lib so we can find libsqlite3 if it wasn't
in the default location.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 7524f29..f916788 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -36,7 +36,7 @@ CFLAGS_BASE=-pipe -std=gnu99 -Wall -W -Wextra
CFLAGS_CODE=-fPIC -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE -m$(BITS)
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
+CFLAGS_SQL=-L$(SQLITE)/lib -I$(SQLITE)/include -Wl,-R$(SQLITE)/lib
CFLAGS_PSEUDO=$(CFLAGS_BASE) $(CFLAGS_CODE) $(CFLAGS_DEFS) \
$(CFLAGS_DEBUG) $(CFLAGS_SQL)