Commit ccd4292a18ecfb45ecd52d565ddd32b5a8ba2e72
1 parent
de12b314
Exists in
master
Adjusting windows build options.
Showing
4 changed files
with
9 additions
and
8 deletions
Show diff stats
configure.ac
... | ... | @@ -60,7 +60,7 @@ dnl --------------------------------------------------------------------------- |
60 | 60 | dnl Version info |
61 | 61 | dnl --------------------------------------------------------------------------- |
62 | 62 | |
63 | -app_cv_description="Python binding for pw3270/lib3270" | |
63 | +app_cv_description="Python bindings for lib3270/pw3270" | |
64 | 64 | |
65 | 65 | AC_SUBST(PACKAGE_DESCRIPTION,"$app_cv_description") |
66 | 66 | AC_DEFINE_UNQUOTED(PACKAGE_DESCRIPTION,"$app_cv_description") |
... | ... | @@ -101,6 +101,7 @@ case "$host" in |
101 | 101 | CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600" |
102 | 102 | CXXFLAGS="$CXXFLAGS -pthread -D_WIN32_WINNT=0x0600" |
103 | 103 | LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32" |
104 | + LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++ -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive,-Bdynamic" | |
104 | 105 | DLLEXT=".dll" |
105 | 106 | |
106 | 107 | app_win32_revision=$(date +%-y.%-m.%-d.%-H) | ... | ... |
rpm/python-tn3270.spec
1 | 1 | |
2 | -Summary: Python Extension Module implementing tn3270 protocol | |
2 | +Summary: Python bindings for lib3270/pw3270 | |
3 | 3 | Name: python-tn3270 |
4 | 4 | Version: 5.2 |
5 | 5 | Release: 0 |
6 | 6 | License: GPL-2.0 |
7 | 7 | Source: %{name}-%{version}.tar.xz |
8 | 8 | URL: https://github.com/PerryWerneck/python-tn3270 |
9 | -Group: Development/Libraries/Python | |
9 | +Group: Development/Libraries/Python | |
10 | 10 | |
11 | 11 | BuildRoot: /var/tmp/%{name}-%{version} |
12 | 12 | |
... | ... | @@ -24,12 +24,11 @@ BuildRequires: pkgconfig(ipc3270) |
24 | 24 | BuildRequires: python |
25 | 25 | BuildRequires: pkgconfig(python3) |
26 | 26 | |
27 | -Requires: python | |
27 | +Requires: python | |
28 | 28 | |
29 | 29 | %description |
30 | - | |
31 | -This is an extension for acessing 3270 hosts directly | |
32 | -from python apps. | |
30 | +This is an extension allowing tn3270 acess for python applications | |
31 | +using lib3270 directly or ipc calls to an enabled pw3270 window. | |
33 | 32 | |
34 | 33 | %prep |
35 | 34 | ... | ... |
src/include/config.h.in
src/session/tools.cc
... | ... | @@ -44,7 +44,7 @@ PyObject * py3270_session_call(PyObject *self, std::function<PyObject * (TN3270: |
44 | 44 | |
45 | 45 | } catch( ... ) { |
46 | 46 | |
47 | - PyErr_SetString(PyExc_RuntimeError, "Unexpected error in core module"); | |
47 | + PyErr_SetString(PyExc_RuntimeError, "Unexpected error in tn3270 module"); | |
48 | 48 | |
49 | 49 | } |
50 | 50 | ... | ... |