bump product version to 4.1.6.2
[LibreOffice.git] / setup_native / Library_getuid.mk
blobfa98773f4d065e7e56ea6f2e9e9845a056f72755
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,getuid))
12 ifeq ($(OS),LINUX)
13 $(eval $(call gb_Library_add_defs,getuid,\
14 -D_GNU_SOURCE \
16 endif
18 # the library is used by LD_PRELOAD; make sure that we see the symbols ;-)
19 ifeq ($(COM),GCC)
20 $(eval $(call gb_Library_add_cflags,getuid,\
21 -fvisibility=default \
23 endif
25 $(eval $(call gb_Library_add_cobjects,getuid,\
26 setup_native/scripts/source/getuid \
29 $(eval $(call gb_Library_add_libs,getuid,\
30 -ldl \
33 # vim: set noet sw=4 ts=4: