- Work around missing include dir in glusterfs pkg-config

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=74
This commit is contained in:
2018-07-23 13:34:43 +00:00
committed by Git OBS Bridge
parent 8fb17bc2a8
commit 3bb80fb281
2 changed files with 6 additions and 1 deletions

View File

@@ -522,7 +522,7 @@ export UWSGICONFIG_JVM_INCPATH="%{_jvmdir}/java/include"
export UWSGICONFIG_LUALIB="lua"
export UWSGICONFIG_LUAPC="lua"
export UWSGICONFIG_RUBYPATH="ruby1.9"
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations -I$(echo %{_libdir}/erlang/lib/erl_interface-*/include) -I%{_jvmdir}/java/include/linux -L$UWSGICONFIG_JVM_LIBPATH/jli"
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations -I%{_includedir}/glusterfs -I$(echo %{_libdir}/erlang/lib/erl_interface-*/include) -I%{_jvmdir}/java/include/linux -L$UWSGICONFIG_JVM_LIBPATH/jli"
%{?jobs:export CPUCOUNT=%jobs}
python uwsgiconfig.py --build opensuse