diff --git a/pw3270.spec.in b/pw3270.spec.in index 90aef42..760a8b1 100644 --- a/pw3270.spec.in +++ b/pw3270.spec.in @@ -62,7 +62,7 @@ Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: openssl shared-mime-info libgnome libgnomeui %{name}-lib = @PACKAGE_VERSION@ Distribution: %_distro -BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-devel gettext-devel +BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-devel gettext-devel libopenssl-devel %description IBM 3270 terminal emulator gtk. It can be used to communicate with @@ -80,6 +80,10 @@ aclocal autoconf %configure +%build +make clean +make Release + %install rm -rf $RPM_BUILD_ROOT cd %{_builddir}/%{name}-%{version} diff --git a/src/gtk/Makefile.in b/src/gtk/Makefile.in index 659fa8d..b189952 100644 --- a/src/gtk/Makefile.in +++ b/src/gtk/Makefile.in @@ -77,7 +77,8 @@ $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT): $(foreach SRC, $(basename $(SOURC @echo $@ ... @$(MKDIR) `dirname $@` - @$(LD) -Wl,--rpath,.bin/Debug/lib -o $@ $^ $(LIBS) $(LIB3270_LIBS) + ls -l ../../.bin/Release/lib + $(LD) -o $@ $^ $(LIBS) $(LIB3270_LIBS) #---[ Debug targets ]---------------------------------------------------------- diff --git a/src/lib3270/api.h b/src/lib3270/api.h index ab3a3a2..835bb87 100644 --- a/src/lib3270/api.h +++ b/src/lib3270/api.h @@ -164,8 +164,6 @@ struct lib3270_state_callback; - typedef struct _h3270 H3270; - #include struct lib3270_state_callback -- libgit2 0.21.2