From 3fdb77f0827d374a7fa2f1e232920b6174d6b44b Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Tue, 9 Apr 2013 17:34:43 +0200 Subject: add new urelibs library merging some libraries from ure/lib/ There is no configure switch for this, URELIBS must be set. This commit changes strategy to link also libraries being merged. We need them for build tools like idlc, cppumaker, .., so the tools can link against them now. This avoids circular dependencies. Change-Id: Ic49e18ecbeaff84d4f5a7fafe8b1fbf45ed18c9b --- Library_urelibs.mk | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Library_urelibs.mk (limited to 'Library_urelibs.mk') diff --git a/Library_urelibs.mk b/Library_urelibs.mk new file mode 100644 index 000000000000..64089f382beb --- /dev/null +++ b/Library_urelibs.mk @@ -0,0 +1,32 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Library_Library,urelibs)) + +# gb_URELIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk +$(eval $(call gb_Library_use_library_objects,urelibs,\ + $(gb_URELIBS) \ +)) + +$(eval $(call gb_Library_use_static_libraries,urelibs,\ + findsofficepath \ +)) + +$(eval $(call gb_Library_use_externals,urelibs,\ + libxml2 \ +)) + +$(eval $(call gb_Library_add_libs,urelibs,\ + $(if $(filter $(OS),LINUX), \ + -ldl \ + -lpthread \ + ) \ +)) + +# vim: set noet sw=4 ts=4: -- cgit v1.2.3