ldap/c-sdk/libraries/libprldap/moz.build
author Tom Prince <mozilla@hocat.ca>
Wed, 18 Oct 2017 13:29:57 -0600
changeset 22874 697dba22c90124c930c356f2a7bd2e1d9394813c
parent 22799 84893db274a435ec11faa19c102efc9cd4780391
permissions -rw-r--r--
Bug 1366607: Use relative paths in ldap mozbuild includes. mozbuild has a test that it can load all mozbuild files when given an empty configuration. It fails if it has include paths that depend on configuration variables. MozReview-Commit-ID: 5g4J64B2cCN

# vim: set filetype=python:
# 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/.

include('../../../ldap-sdk.mozbuild')

SharedLibrary('prldap60')

SOURCES += [
    'ldappr-dns.c',
    'ldappr-error.c',
    'ldappr-io.c',
    'ldappr-public.c',
    'ldappr-threads.c',
]

if CONFIG['OS_ARCH'] == 'WINNT':
    DEFFILE = SRCDIR + '/libprldap.def'

DEFINES['USE_WAITPID'] = True
DEFINES['NEEDPROTOS'] = True

LOCAL_INCLUDES += [
    '../../include'
]

USE_LIBS += [
    'ldap60',
    'nspr'
]