Skip to content

Commit

Permalink
meson: Clean up VTE conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Nov 2, 2023
1 parent 34ba3dd commit 5a0df38
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,12 @@ if host_machine.system() == 'darwin'
endif
endif

vte_src = ['src/vte.c', 'src/vte.h']
if host_machine.system() == 'windows'
# No VTE support on Windows
vte_src = []
endif

install_headers(
'plugins/geanyfunctions.h',
'plugins/geanyplugin.h',
Expand Down Expand Up @@ -857,10 +863,10 @@ libgeany = shared_library('geany',
'src/ui_utils.h',
'src/utils.c',
'src/utils.h',
vte_src,
gen_src,
win_src,
osx_src,
host_machine.system() == 'windows' ? [] : [ 'src/vte.c', 'src/vte.h' ],
soversion: '0',
c_args: geany_cflags + [ '-DG_LOG_DOMAIN="Geany"' ],
include_directories: [iscintilla],
Expand Down

0 comments on commit 5a0df38

Please sign in to comment.