summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2009-09-24 01:13:10 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-09-24 01:13:10 +0530
commit2e8eedbf4838b52d091c4a0a1754ec85813794ff (patch)
tree40502f954431cf0ea86b612b694a490ebd895dbd /crawl-ref
parent82cedf838de972f43de34d069b56c62d6cbeaa1e (diff)
downloadcrawl-ref-2e8eedbf4838b52d091c4a0a1754ec85813794ff.tar.gz
crawl-ref-2e8eedbf4838b52d091c4a0a1754ec85813794ff.zip
Explicitly link sqlite3 bundled with Crawl. (Jukka Kuusisto)
Avoid linker errors on systems with older libsqlite3 that don't have the functions Crawl uses (Mac OS 10.4 for instance) by explicitly linking the static lib we build in util/sqlite.
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/makefile.unix2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile.unix b/crawl-ref/source/makefile.unix
index 91c4ce322b..ab6135b042 100644
--- a/crawl-ref/source/makefile.unix
+++ b/crawl-ref/source/makefile.unix
@@ -62,7 +62,7 @@ SQLLIB := sqlite3
SQLLIBA := lib$(SQLLIB).a
FSQLLIBA := $(SQLSRC)/$(SQLLIBA)
-LIBDBM := -L$(SQLSRC) -l$(SQLLIB)
+LIBDBM := $(FSQLLIBA)
EXTRA_INCLUDES += -I$(SQLSRC)
EXTRA_DEPENDS += $(FSQLLIBA)