Accepting request 197858 from multimedia:libs
- If we have a smblcient.pc available (meaning, we build against samba 4), we export the output of pkg-config --cflags smbclient into CFLAGS. Fixes build with Samab 4.0. OBS-URL: https://build.opensuse.org/request/show/197858 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=13
This commit is contained in:
commit
8d42aff6b7
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 7 18:52:22 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- If we have a smblcient.pc available (meaning, we build against
|
||||||
|
samba 4), we export the output of pkg-config --cflags smbclient
|
||||||
|
into CFLAGS. Fixes build with Samab 4.0.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 9 14:20:19 UTC 2013 - dvaleev@suse.com
|
Fri Aug 9 14:20:19 UTC 2013 - dvaleev@suse.com
|
||||||
|
|
||||||
|
10
vlc.spec
10
vlc.spec
@ -263,12 +263,14 @@ date
|
|||||||
%build
|
%build
|
||||||
echo '********* BOOTSTRAPPING *********'
|
echo '********* BOOTSTRAPPING *********'
|
||||||
date
|
date
|
||||||
|
pkg-config --exists smbclient &&
|
||||||
|
smbclient=$(pkg-config --cflags smbclient)
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
export CFLAGS="%{optflags} -L%{_libdir}/live -msse"
|
export CFLAGS="%{optflags} -L%{_libdir}/live -msse $smbclient"
|
||||||
export CXXFLAGS="%{optflags} -L%{_libdir}/live -msse"
|
export CXXFLAGS="%{optflags} -L%{_libdir}/live -msse $smbclient"
|
||||||
%else
|
%else
|
||||||
export CFLAGS="%{optflags} -L%{_libdir}/live"
|
export CFLAGS="%{optflags} -L%{_libdir}/live $smbclient"
|
||||||
export CXXFLAGS="%{optflags} -L%{_libdir}/live"
|
export CXXFLAGS="%{optflags} -L%{_libdir}/live $smbclient"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Needed for patch5
|
# Needed for patch5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user