Make sure that the .dll.a import library refers to libiconv.dll instead of iconv.dll
This commit is contained in:
parent
497c80258c
commit
0317f70d1a
@ -4,7 +4,7 @@
|
||||
|
||||
Name: mingw-win-iconv
|
||||
Version: 0.0.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Iconv implementation using Win32 API
|
||||
|
||||
License: Public Domain
|
||||
@ -57,6 +57,10 @@ dos2unix ChangeLog
|
||||
chmod -x readme.txt
|
||||
chmod -x ChangeLog
|
||||
|
||||
# Make sure that the .dll.a import library doesn't refer to a dll named
|
||||
# iconv.dll (as the library generated by cmake is named libiconv.dll)
|
||||
sed -i s/'LIBRARY ICONV.DLL'// iconv.def
|
||||
|
||||
|
||||
%build
|
||||
%{_mingw32_cmake} -DBUILD_STATIC=1
|
||||
@ -79,6 +83,10 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_bindir}/*.exe
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 6 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-3
|
||||
- Make sure that the .dll.a import library refers to libiconv.dll
|
||||
instead of iconv.dll
|
||||
|
||||
* Sun Jul 3 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-2
|
||||
- Add versioned BR for cmake >= 2.8.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user