summaryrefslogtreecommitdiff
path: root/Repository.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-15 01:39:14 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-15 08:51:57 +0300
commitc68dd99b967146a1707a5e14524e1374acda723e (patch)
tree8d51a53b1314fc8257cff2bf770689e51e68492e /Repository.mk
parent1e9baadcb71cb393864be4e8580a50183cb7152e (diff)
Register postgresql-sdbc libs only if we build them, surely?
Change-Id: I8cee0b3ee52925029834605c86fc01303e34b0c4
Diffstat (limited to 'Repository.mk')
-rw-r--r--Repository.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Repository.mk b/Repository.mk
index e0438608cf37..9bdff08563d6 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -434,8 +434,9 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
))
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
- postgresql-sdbc \
- postgresql-sdbc-impl \
+ $(if $(BUILD_POSTGRESQL_SDBC), \
+ postgresql-sdbc \
+ postgresql-sdbc-impl) \
))
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \