diff options
author | Ash Berlin <ashberlin@gmail.com> | 2017-02-01 17:20:43 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-02-01 17:58:45 +0000 |
commit | a480d71ef44cd22fc59e83aa19649bd854ce751d (patch) | |
tree | f0cf13bad38b7138d36cd097ea7bd42298626ba3 /testing/exim/exim.Makefile | |
parent | 30cda290c45e8ffb0dd6613ba874b15fc03b1d75 (diff) | |
download | aports-a480d71ef44cd22fc59e83aa19649bd854ce751d.tar.bz2 aports-a480d71ef44cd22fc59e83aa19649bd854ce751d.tar.xz |
testing/exim: Fix linking error on loadable modules/subpackages
Something about the gcc invocation was causing it to not link libpq or
libmysql so the exim-postgresql and exim-mysql packages were unusable at
runtime.
linux-headers build-time deb didn't seem to cause any problems, but it
issued a warning about linux/ip.h not found, and we can fix that easily
enough so we should.
Fixes #6775
Diffstat (limited to 'testing/exim/exim.Makefile')
-rw-r--r-- | testing/exim/exim.Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/exim/exim.Makefile b/testing/exim/exim.Makefile index 5db92ad80f..c372d73016 100644 --- a/testing/exim/exim.Makefile +++ b/testing/exim/exim.Makefile @@ -25,12 +25,12 @@ LOOKUP_DNSDB=2 LOOKUP_PASSWD=yes LOOKUP_MYSQL=2 LOOKUP_MYSQL_INCLUDE=-I/usr/include/mysql -LOOKUP_MYSQL_LIBS=-lmysqlclient +LOOKUP_MYSQL_LIBS=-Wl,--no-as-needed -lmysqlclient LOOKUP_PGSQL=2 LOOKUP_PGSQL_INCLUDE=-I/usr/include/postgresql -LOOKUP_PGSQL_LIBS=-lpq +LOOKUP_PGSQL_LIBS=-Wl,--no-as-needed -lpq LOOKUP_SQLITE=2 -LOOKUP_SQLITE_PC=sqlite3 +LOOKUP_SQLITE_LIBS=-Wl,--no-as-needed -lsqlite3 PCRE_CONFIG=yes PCRE_LIBS=-lpcre WITH_CONTENT_SCAN=yes |