Commit 345deb58 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Build v4l on Linux for the Python module and the webplugin only if video is enabled.

parent 12fb0f3e
......@@ -66,7 +66,9 @@ if (UNIX)
set(LINPHONE_BUILDER_OBJCFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}")
set(LINPHONE_BUILDER_LDFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}")
else()
set(BUILD_V4L "yes")
if(ENABLE_VIDEO)
set(BUILD_V4L "yes")
endif()
set(LINPHONE_BUILDER_LDFLAGS "-Wl,-Bsymbolic -fPIC")
endif()
endif()
......
......@@ -62,7 +62,9 @@ if (UNIX)
set(LINPHONE_BUILDER_OBJCFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}")
set(LINPHONE_BUILDER_LDFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}")
else()
set(BUILD_V4L "yes")
if(ENABLE_VIDEO)
set(BUILD_V4L "yes")
endif()
set(LINPHONE_BUILDER_LDFLAGS "-Wl,-Bsymbolic")
endif()
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment