433221d66b
...similar to 28b4f4aeaf
"Get rid of Windows .def
files in setup_native, use __declspec(dllexport)". And JNIEXPORT (with which
the listed functions are decorated in odk/source/unowinreg/win/unowinreg.cxx)
already implies __declspec(dllexport).
Change-Id: I45fd1d50cd3b072d124002e469c70eb1d6ed7610
Reviewed-on: https://gerrit.libreoffice.org/60819
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
36 lines
802 B
Makefile
36 lines
802 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,unowinreg))
|
|
|
|
ifeq ($(COM),GCC)
|
|
$(eval $(call gb_Library_add_libs,unowinreg,\
|
|
-lstdc++ \
|
|
-lgcc_eh \
|
|
-lgcc \
|
|
-lmingw32 \
|
|
-lmoldname \
|
|
-lmsvcrt \
|
|
))
|
|
else
|
|
$(eval $(call gb_Library_add_ldflags,unowinreg,\
|
|
/MANIFEST:NO \
|
|
))
|
|
endif
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,unowinreg,\
|
|
odk/source/unowinreg/win/unowinreg \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,unowinreg,\
|
|
kernel32 \
|
|
advapi32 \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|