3fdb77f082
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
32 lines
791 B
Makefile
32 lines
791 B
Makefile
# -*- 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:
|