-Fix build failure: make looks for ruby.h in wrong place.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/rrdtool?expand=0&rev=37
This commit is contained in:
parent
815fa64a76
commit
b15d1463a0
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 13:54:25 UTC 2013 - vdziewiecki@suse.com
|
||||||
|
|
||||||
|
-Fix build failure: make looks for ruby.h in wrong place.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 5 12:35:29 UTC 2013 - idonmez@suse.com
|
Fri Apr 5 12:35:29 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -105,6 +105,9 @@ if [ ! -d m4 ]; then mkdir m4; fi
|
|||||||
%if %{_lib}==lib64
|
%if %{_lib}==lib64
|
||||||
# don't pass -i to autoreconf, that'll run autopoint which will go
|
# don't pass -i to autoreconf, that'll run autopoint which will go
|
||||||
# nuts because of the supposedly outdated gettext version:
|
# nuts because of the supposedly outdated gettext version:
|
||||||
|
# ugly hack to fix build failure, when make looks for ruby.h in a wrong place:
|
||||||
|
mkdir -p %{buildroot}/usr/include
|
||||||
|
cp -R /usr/include/ruby-2.0.0 %{buildroot}/usr/include/
|
||||||
autoreconf -fv
|
autoreconf -fv
|
||||||
%endif
|
%endif
|
||||||
export LDFLAGS="-L`pwd`/lb/lib" CPPFLAGS="-I`pwd`/lb/include" \
|
export LDFLAGS="-L`pwd`/lb/lib" CPPFLAGS="-I`pwd`/lb/include" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user