|
Lines 46-51
Link Here
|
| 46 |
] |
46 |
] |
| 47 |
endif |
47 |
endif |
| 48 |
|
48 |
|
|
|
49 |
lv2_path='' |
| 50 |
if host_machine.system() in ['gnu', 'linux'] |
| 51 |
prefix = get_option('prefix') |
| 52 |
libdirname = get_option('libdir') |
| 53 |
lv2_path=':'.join('~/.lv2', |
| 54 |
'@0@/@1@/lv2'.format(prefix,libdirname), |
| 55 |
'@0@/local/@1@/lv2'.format(prefix,libdirname)) |
| 56 |
endif |
| 57 |
|
| 58 |
if lv2_path != '' |
| 59 |
platform_defines += ['-DLILV_DEFAULT_LV2_PATH="@0@"'.format(lv2_path)] |
| 60 |
endif |
| 61 |
|
| 49 |
add_project_arguments(platform_defines, language: ['c']) |
62 |
add_project_arguments(platform_defines, language: ['c']) |
| 50 |
|
63 |
|
| 51 |
################ |
64 |
################ |