summaryrefslogtreecommitdiffstats
path: root/gettext-tools/libgettextpo/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/libgettextpo/Makefile.am')
-rw-r--r--gettext-tools/libgettextpo/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/gettext-tools/libgettextpo/Makefile.am b/gettext-tools/libgettextpo/Makefile.am
index 8aa0f3b..3921145 100644
--- a/gettext-tools/libgettextpo/Makefile.am
+++ b/gettext-tools/libgettextpo/Makefile.am
@@ -117,6 +117,11 @@ libgettextpo_la_SOURCES += ../woe32dll/gettextpo-exports.c
libgettextpo_la_LDFLAGS += -Wl,--export-all-symbols
endif
+# OS/2 does not support a DLL name longer than 8 characters.
+if OS2
+libgettextpo_la_LDFLAGS += -os2dllname gtpo
+endif
+
# Version information according to Woe32 conventions.
EXTRA_DIST += libgettextpo.rc
if WOE32