RepositoryExternal.mk: add openldap

Change-Id: I5f673db405449d28951eff4d6d30ad0b9ec5d77f
This commit is contained in:
Michael Stahl 2012-07-16 19:00:07 +02:00
parent ff89c90f7d
commit e0ee0d444e
2 changed files with 37 additions and 2 deletions

View file

@ -1328,6 +1328,41 @@ endef
endif # SYSTEM_HSQLDB
ifdef ($(SYSTEM_OPENLDAP),YES)
define gb_LinkTarget__use_openldap
$(call gb_LinkTarget_add_libs,$(1),\
-lldap \
-llber \
)
endef
else # !SYSTEM_OPENLDAP
$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS,\
ldap \
lber \
))
define gb_LinkTarget__use_openldap
$(call gb_LinkTarget_set_include,$(1),\
-I$(OUTDIR)/inc/openldap \
$$(INCLUDE) \
)
$(call gb_LinkTarget_use_static_libraries,$(1),\
ldap \
lber \
)
endef
endif # SYSTEM_OPENLDAP
ifeq ($(SYSTEM_POSTGRESQL),YES)
define gb_LinkTarget__use_postgresql

View file

@ -58,9 +58,9 @@ $(eval $(call gb_Library_use_libraries,ldapbe2,\
wldap32 \
))
else # 0S!=WNT
$(eval $(call gb_Library_use_externals,ldapbe2,openldap))
$(eval $(call gb_Library_add_libs,ldapbe2,\
-lldap \
-llber \
-lssl3 \
-lsmime3 \
-lnss3 \