-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use _target macro to find rbconfig.rb
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ make install DESTDIR=$RPM_BUILD_ROOT | |
rm -f $RPM_BUILD_ROOT%{_libdir}/libruby-static.a | ||
rm -f $RPM_BUILD_ROOT%{_libdir}/libruby.so | ||
# Fix libruby linking | ||
sed -i 's/\(.*LIBRUBYARG_SHARED.*=\).*/\1 "$(libdir)\/lib$(RUBY_SO_NAME).so.$(ruby_version)"/' $RPM_BUILD_ROOT%{_libdir}/ruby/1.9.1/%{_arch}-%{_os}/rbconfig.rb | ||
sed -i 's/\(.*LIBRUBYARG_SHARED.*=\).*/\1 "$(libdir)\/lib$(RUBY_SO_NAME).so.$(ruby_version)"/' $RPM_BUILD_ROOT%{_libdir}/ruby/1.9.1/%{_target}/rbconfig.rb | ||
|
||
%clean | ||
rm -rf $RPM_BUILD_ROOT | ||
|
@@ -61,6 +61,7 @@ rm -rf $RPM_BUILD_ROOT | |
%changelog | ||
* Mon Feb 27 2012 Mihael Leinartas <[email protected]> - 1.9.2p290-3 | ||
- Fix mkmf.rb using libruby-static for lib detection | ||
- Use _target macro to find rbconfig.rb | ||
|
||
* Sat Jan 28 2012 Michael Leinartas <[email protected]> - 1.9.2p290-2 | ||
- Fix linking of compiled gem extensions | ||
|