Skip to content

Commit

Permalink
fix gettext issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed May 26, 2024
1 parent e934349 commit 8a5a15f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ cflags += ['-Wno-unused', '-Wno-unused-result', '-Wno-incompatible-pointer-types
'-Wno-cast-function-type', '-Wno-attributes','-Wno-unknown-warning-option',
]

cflags += ['-DGETTEXT_PACKAGE=ymp']

# some compiler flags from dpkg-buildpackage
cflags += ['-g', '-O2', '-Werror=implicit-function-declaration',
'-ffile-prefix-map=/root/ymp=.', '-fstack-protector-strong',
Expand Down
1 change: 0 additions & 1 deletion src/ccode/gettext.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <libintl.h>
#include <locale.h>

char* GETTEXT_PACKAGE="ymp";

void locale_init(){
setlocale (LC_ALL, "");
Expand Down

0 comments on commit 8a5a15f

Please sign in to comment.