Kaydet (Commit) 8311c6ed authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Tor Lillqvist

link vcl against libglyphy

Change-Id: I5b206f5d857d28acda82ce8ac53f835142f46da2
üst ef015581
...@@ -272,6 +272,30 @@ endef ...@@ -272,6 +272,30 @@ endef
endif # SYSTEM_GLEW endif # SYSTEM_GLEW
$(eval $(call gb_Helper_register_packages_for_install,ooo,\
liborcus \
))
ifneq ($(SYSTEM_GLEW),)
else # !SYSTEM_GLYPHY
define gb_LinkTarget__use_glyphy
$(call gb_LinkTarget_use_package,$(1),glyphy)
$(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,glyphy/include) \
$$(INCLUDE) \
)
$(call gb_LinkTarget_add_libs,$(1),\
-L$(call gb_UnpackedTarball_get_dir,glyphy)/src/.libs -lglyphy \
)
endef
endif GLYPHY
define gb_LinkTarget__use_iconv define gb_LinkTarget__use_iconv
$(call gb_LinkTarget_add_libs,$(1),-liconv) $(call gb_LinkTarget_add_libs,$(1),-liconv)
......
...@@ -11,4 +11,10 @@ $(eval $(call gb_ExternalPackage_ExternalPackage,glyphy,glyphy)) ...@@ -11,4 +11,10 @@ $(eval $(call gb_ExternalPackage_ExternalPackage,glyphy,glyphy))
$(eval $(call gb_ExternalPackage_use_external_project,glyphy,glyphy)) $(eval $(call gb_ExternalPackage_use_external_project,glyphy,glyphy))
ifeq ($(OS),MACOSX)
$(eval $(call gb_ExternalPackage_add_file,glyphy,$(LIBO_LIB_FOLDER)/libglyphy.dylib,src/.libs/libglyphy.dylib))
else ifeq ($(DISABLE_DYNLOADING),)
$(eval $(call gb_ExternalPackage_add_file,glyphy,$(LIBO_LIB_FOLDER)/libglyphy.so.0,src/.libs/libglyphy.so.0.0.0))
endif
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -747,6 +747,10 @@ $(eval $(call gb_Library_add_libs,vcl,\ ...@@ -747,6 +747,10 @@ $(eval $(call gb_Library_add_libs,vcl,\
-lXext \ -lXext \
)) ))
$(eval $(call gb_Library_use_externals,vcl,\
glyphy \
))
$(eval $(call gb_Library_add_exception_objects,vcl,\ $(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/opengl/x11/X11DeviceInfo \ vcl/opengl/x11/X11DeviceInfo \
)) ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment