xref: /aosp_15_r20/external/mesa3d/src/getopt/meson.build (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1*61046927SAndroid Build Coastguard Worker# Copyright © 2018 Intel Corporation
2*61046927SAndroid Build Coastguard Worker# SPDX-License-Identifier: MIT
3*61046927SAndroid Build Coastguard Worker
4*61046927SAndroid Build Coastguard Workerlibgetopt = static_library(
5*61046927SAndroid Build Coastguard Worker  'getopt',
6*61046927SAndroid Build Coastguard Worker  'getopt_long.c',
7*61046927SAndroid Build Coastguard Worker)
8*61046927SAndroid Build Coastguard Worker
9*61046927SAndroid Build Coastguard Workeridep_getopt = declare_dependency(
10*61046927SAndroid Build Coastguard Worker  link_with : libgetopt,
11*61046927SAndroid Build Coastguard Worker  include_directories : include_directories('.', is_system : true),
12*61046927SAndroid Build Coastguard Worker)
13