SHA256
1
0
forked from pool/vlc

- 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/package/show/multimedia:libs/vlc?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2013-09-07 19:03:09 +00:00 committed by Git OBS Bridge
parent 8f41c11cf8
commit 705c1c5c3e
2 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -263,12 +263,14 @@ date
%build
echo '********* BOOTSTRAPPING *********'
date
pkg-config --exists smbclient &&
smbclient=$(pkg-config --cflags smbclient)
%ifarch %{ix86} x86_64
export CFLAGS="%{optflags} -L%{_libdir}/live -msse"
export CXXFLAGS="%{optflags} -L%{_libdir}/live -msse"
export CFLAGS="%{optflags} -L%{_libdir}/live -msse $smbclient"
export CXXFLAGS="%{optflags} -L%{_libdir}/live -msse $smbclient"
%else
export CFLAGS="%{optflags} -L%{_libdir}/live"
export CXXFLAGS="%{optflags} -L%{_libdir}/live"
export CFLAGS="%{optflags} -L%{_libdir}/live $smbclient"
export CXXFLAGS="%{optflags} -L%{_libdir}/live $smbclient"
%endif
# Needed for patch5