mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-09-19 06:09:58 +00:00
Merge pull request #384 from salahcoronya/build-improvements
Fix build bug and improve build process
This commit is contained in:
@@ -110,7 +110,7 @@ zoitechat_theme_lib = static_library('zoitechat_theme',
|
||||
iso_codes = dependency('iso-codes', required: false)
|
||||
if iso_codes.found()
|
||||
zoitechat_gtk_sources += 'sexy-iso-codes.c'
|
||||
iso_codes_prefix = iso_codes.get_pkgconfig_variable('prefix')
|
||||
iso_codes_prefix = iso_codes.get_variable(pkgconfig : 'prefix')
|
||||
zoitechat_gtk_cflags += '-DISO_CODES_PREFIX="@0@"'.format(iso_codes_prefix)
|
||||
zoitechat_gtk_cflags += '-DISO_CODES_LOCALEDIR="@0@"'.format(
|
||||
join_paths(iso_codes_prefix, 'share/locale'))
|
||||
@@ -139,7 +139,7 @@ executable('zoitechat',
|
||||
link_args: zoitechat_gtk_ldflags,
|
||||
pie: true,
|
||||
install: true,
|
||||
gui_app: true,
|
||||
win_subsystem: 'windows',
|
||||
)
|
||||
|
||||
emoji_ui_tests = executable('emoji_ui_tests',
|
||||
|
||||
Reference in New Issue
Block a user