# -*- 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,pyuno_wrapper)) $(eval $(call gb_Library_set_include,pyuno_wrapper,\ -I$(SRCDIR)/pyuno/source/module \ -I$(SRCDIR)/pyuno/inc \ $$(INCLUDE) \ )) # not using external "python" because we do not want to link against python $(eval $(call gb_Library_use_externals,pyuno_wrapper,\ python_headers \ )) # python "import pyuno" dlopens pyuno.so as RTLD_LOCAL, so g++ exception # handling used to not work, so pyuno.so (pyuno_wrapper) is just a thin wrapper # that dlopens libpyuno.so as RTLD_GLOBAL; but when pyuno.so wrapper links # against libstdc++ (which has not previously been loaded into python process), # that resolves its _ZNSs4_Rep20_S_empty_rep_storageE to itself, but later LO # libs (loaded though RTLD_GLOBAL libpyuno.so) may resolve that symbol to e.g. # cppu, because they happen to see that before libstdc++; so the requirement has # always been that RTLD_LOCAL-loaded pyuno.so wrapper implicitly load into the # process as little as possible. # To ensure that pyuno.so does not link against libstdc++ the dynamic link # command invokes gcc and not g++ if there are only C objects, so # don't add any C++ objects here! ifeq ($(filter DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),) $(eval $(call gb_Library_add_libs,pyuno_wrapper,\ -ldl \ )) endif $(eval $(call gb_Library_add_cobjects,pyuno_wrapper,\ pyuno/source/module/pyuno_dlopenwrapper \ )) # vim:set noet sw=4 ts=4: ected'>distro/cib/libreoffice-6-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/external/libgltf/ExternalProject_libgltf.mk
AgeCommit message (Expand)Author
2014-07-12enable debug informations for gltf in debug buildsMarkus Mohrhard
2014-07-11VS2013: Adjust libgltf to 12.0 vcproj versionDavid Ostrovsky
2014-06-27libgltf: use WHITESPACEZolnai Tamás
2014-06-27libgltf: fix wrong include path to config_$(gb_Side)Zolnai Tamás
2014-06-27libgltf: it seems gb_SPACE is not that we need hereZolnai Tamás
2014-06-26Revert "external/libgltf: Hack in missing -fPIC"Stephan Bergmann
2014-06-26external/libgltf: Hack in missing -fPICStephan Bergmann
2014-06-25libgltf: replace configure patch to avoid using autoreconfZolnai Tamás
2014-06-25libgltf: use --with-pickZolnai Tamás
2014-06-25libgltf: try to fix the MSVC2010 buildMichael Stahl
2014-06-25libgltf: add patch to find the headers in WORKDIRMichael Stahl
2014-06-25libgltf: variable names need module prefixMichael Stahl
2014-06-25Update libgltf: new build system and various fixesZolnai Tamás