summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/postgresql/makefile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk
index 43b4d5df438d..8c8c022f3444 100644
--- a/connectivity/source/drivers/postgresql/makefile.mk
+++ b/connectivity/source/drivers/postgresql/makefile.mk
@@ -36,6 +36,9 @@ NO_DEFAULT_STL=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
+
+.IF "$(BUILD_POSTGRESQL_SDBC)" == "YES"
+
.IF "$(SYSTEM_POSTGRESQL)" != "YES"
.INCLUDE : $(SOLARINCDIR)$/postgresql/postgresql-version.mk
.ENDIF
@@ -145,6 +148,8 @@ SLOFILES= $(LIB1OBJFILES) $(LIB2OBJFILES)
DRIVERNAME=postgresql-sdbc-$(PQ_SDBC_VERSION).oxt
ALLTAR : $(DLLDEST)$/$(DRIVERNAME)
+.ENDIF # BUILD_POSTGRESQL_SDBC
+
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk