make sure libpq is in place before it is used

Change-Id: I799a149b319bb6a3168117810084496f8b6d6fbb
This commit is contained in:
David Tardon 2012-10-22 06:33:00 +02:00
parent ec9e661988
commit cb9823b611
2 changed files with 4 additions and 4 deletions

View file

@ -1772,6 +1772,10 @@ else # !SYSTEM_POSTGRESQL
define gb_LinkTarget__use_postgresql
$(call gb_LinkTarget_use_packages,$(1),\
postgresql \
)
$(call gb_LinkTarget_set_include,$(1),\
-I$(OUTDIR)/inc/postgresql \
$$(INCLUDE) \

View file

@ -64,10 +64,6 @@ $(eval $(call gb_Library_use_externals,postgresql-sdbc-impl,\
ifneq ($(SYSTEM_POSTGRESQL),YES)
ifneq ($(GUI)$(COM),WNTMSC)
$(eval $(call gb_Library_use_external_package,postgresql-sdbc-impl,\
postgresql \
))
-include $(OUTDIR)/inc/postgresql/libpq-flags.mk
$(eval $(call gb_Library_add_libs,postgresql-sdbc-impl,\