diff options
author | Martijn Kaijser <mcm.kaijser@gmail.com> | 2016-04-24 16:22:43 +0200 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2016-04-24 16:22:43 +0200 |
commit | 6c3417f9746964a73b8702811ad7a39aa3385c56 (patch) | |
tree | 2e2fb670005fd7e76e8acc2b6b463c3175f784a0 /Makefile.in | |
parent | d9cdd67f903f557e042649b9139041e1b9b33ef5 (diff) |
Avoid compiling cdrip when build with --disable-optical-drive
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 972e0529da..ca34cde1ee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -34,7 +34,6 @@ DIRECTORY_ARCHIVES=$(VideoPlayer_ARCHIVES) \ xbmc/addons/binary/interfaces/api1/InputStream/addon-callbacks-inputstream.a \ xbmc/addons/binary/interfaces/api1/Peripheral/addon-callbacks-peripheral.a \ xbmc/addons/binary/interfaces/api1/PVR/addon-callbacks-pvr.a \ - xbmc/cdrip/cdrip.a \ xbmc/contrib/kissfft/kissfft.a \ xbmc/cores/AudioEngine/audioengine.a \ xbmc/cores/DllLoader/dllloader.a \ @@ -119,6 +118,9 @@ DIRECTORY_ARCHIVES=$(VideoPlayer_ARCHIVES) \ NWAOBJSXBMC= xbmc/threads/threads.a \ xbmc/commons/commons.a +ifeq (@USE_OPTICAL_DRIVE@,1) +DIRECTORY_ARCHIVES += xbmc/cdrip/cdrip.a +endif ifeq (@USE_WEB_SERVER@,1) DIRECTORY_ARCHIVES += xbmc/interfaces/legacy/wsgi/legacy-wsgi.a |