fix postgresql build
Change-Id: I379029dbf600769e415582aa7162f320e707c3da
This commit is contained in:
@@ -163,6 +163,7 @@ sub prune_redundant_deps($)
|
||||
sub create_lib_module_map()
|
||||
{
|
||||
my %l2m;
|
||||
$l2m{'merged'} = 'merged';
|
||||
for (glob($src_root."/*/Library_*.mk"))
|
||||
{
|
||||
/.*\/(.*)\/Library_(.*)\.mk/;
|
||||
|
@@ -61,7 +61,7 @@ $(eval $(call gb_Library_use_externals,postgresql-sdbc-impl,\
|
||||
boost_headers \
|
||||
postgresql \
|
||||
openssl \
|
||||
openldap \
|
||||
$(if $(SYSTEM_OPENLDAP),openldap) \
|
||||
nss3 \
|
||||
plc4 \
|
||||
ssl3 \
|
||||
|
@@ -24,8 +24,5 @@ else
|
||||
$(eval $(call gb_ExternalPackage_add_files,postgresql,lib,\
|
||||
src/interfaces/libpq/libpq.a \
|
||||
))
|
||||
$(eval $(call gb_ExternalPackage_add_files,postgresql,inc/postgresql,\
|
||||
src/interfaces/libpq/libpq-flags.mk \
|
||||
))
|
||||
endif
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
@@ -826,15 +826,15 @@ $$(eval $$(call gb_Output_info,currently known libraries are: $(sort $(gb_Librar
|
||||
$$(eval $$(call gb_Output_error,Cannot link against library/libraries $$(filter-out $(gb_Library_KNOWNLIBS),$(2)). Libraries must be registered in Repository.mk))
|
||||
endif
|
||||
|
||||
# used by bin/module-deps.pl
|
||||
ifneq ($(ENABLE_PRINT_DEPS),)
|
||||
$$(eval $$(call gb_PrintDeps_info,$(1),$(2),$(3),$(4)))
|
||||
endif
|
||||
|
||||
gb_LINKED_LIBS := $(if $(filter $(gb_MERGEDLIBS),$(2)), \
|
||||
$(if $(filter $(1),$(foreach lib,$(gb_MERGEDLIBS),$(call gb_Library_get_linktargetname,$(lib)))),, merged)) \
|
||||
$(filter-out $(gb_MERGEDLIBS),$(2))
|
||||
|
||||
# used by bin/module-deps.pl
|
||||
ifneq ($(ENABLE_PRINT_DEPS),)
|
||||
$$(eval $$(call gb_PrintDeps_info,$(1),$$(gb_LINKED_LIBS),$(3),$(4)))
|
||||
endif
|
||||
|
||||
$(call gb_LinkTarget_get_target,$(1)) : LINKED_LIBS += $$(gb_LINKED_LIBS)
|
||||
|
||||
$(call gb_LinkTarget_get_target,$(1)) : $$(foreach lib,$$(gb_LINKED_LIBS),$$(call gb_Library_get_target,$$(lib)))
|
||||
|
Reference in New Issue
Block a user