Skip to content

Commit

Permalink
Fixing windows build.
Browse files Browse the repository at this point in the history
  • Loading branch information
PerryWerneck committed Dec 11, 2024
1 parent d4465df commit 624839a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ if host_machine.system() == 'windows'
windows = import('windows')
resources = windows.compile_resources(
configure_file(
input : 'libv3270/src/terminal/windows/resources.rc.in',
input : 'src/terminal/windows/resources.rc.in',
output : 'resources.rc',
configuration : app_conf
)
Expand All @@ -426,6 +426,11 @@ if host_machine.system() == 'windows'
install: true,
gnu_symbol_visibility: 'hidden',
dependencies: lib_deps + extra_deps,
link_args: [
'-lws2_32',
'-lwtsapi32',
'-lcomdlg32',
],
include_directories: includes_dir,
)

Expand Down
2 changes: 1 addition & 1 deletion src/terminal/windows/resources.rc.in
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ BEGIN
// English
BLOCK "080904B0"
BEGIN
VALUE "FileDescription", "@PACKAGE_DESCRIPTION@\0"
VALUE "FileDescription", "3270 Virtual Terminal for GTK\0"
VALUE "FileVersion", "@PACKAGE_VERSION_MAJOR@.@PACKAGE_VERSION_MINOR@.@PACKAGE_VERSION_MICRO@\0"
VALUE "LegalCopyright", "GNU GPLv3\0"
VALUE "InternalName", "libv3270\0"
Expand Down

0 comments on commit 624839a

Please sign in to comment.