mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 08:04:36 +08:00
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
--- configure.in 2012-10-12 16:05:48.000000000 +0200
|
|
+++ configure.in 2013-05-11 18:48:59.021848013 +0200
|
|
@@ -861,9 +860,9 @@
|
|
notfound) AC_WARN([SQLite Library not found]); true;;
|
|
*)
|
|
if test -d ${with_sqlite}/lib; then
|
|
- LIB_SQLITE="-L${with_sqlite}/lib -R${with_sqlite}/lib"
|
|
+ LIB_SQLITE="-L${with_sqlite}/lib"
|
|
else
|
|
- LIB_SQLITE="-L${with_sqlite} -R${with_sqlite}"
|
|
+ LIB_SQLITE="-L${with_sqlite}"
|
|
fi
|
|
|
|
LIB_SQLITE_DIR=$LIB_SQLITE
|
|
@@ -913,9 +912,9 @@
|
|
notfound) AC_WARN([SQLite3 Library not found]); true;;
|
|
*)
|
|
if test -d ${with_sqlite3}/lib; then
|
|
- LIB_SQLITE3="-L${with_sqlite3}/lib -R${with_sqlite3}/lib"
|
|
+ LIB_SQLITE3="-L${with_sqlite3}/lib"
|
|
else
|
|
- LIB_SQLITE3="-L${with_sqlite3} -R${with_sqlite3}"
|
|
+ LIB_SQLITE3="-L${with_sqlite3}"
|
|
fi
|
|
|
|
LIB_SQLITE3_DIR=$LIB_SQLITE3
|
|
--- configure.in
|
|
+++ configure.in
|
|
@@ -674,7 +674,9 @@
|
|
LIB_PGSQL_DIR=$LIB_PGSQL
|
|
LIB_PGSQL="$LIB_PGSQL -lpq"
|
|
|
|
- if test -d ${with_pgsql}/include/pgsql; then
|
|
+ if test -d ${with_pgsql}/include/postgresql/pgsql; then
|
|
+ CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/postgresql/pgsql"
|
|
+ elif test -d ${with_pgsql}/include/pgsql; then
|
|
CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include/pgsql"
|
|
elif test -d ${with_pgsql}/pgsql/include; then
|
|
CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/pgsql/include"
|