diff --git a/src/libcamera/base/meson.build b/src/libcamera/base/meson.build index b57774f4..e13a2f43 100644 --- a/src/libcamera/base/meson.build +++ b/src/libcamera/base/meson.build @@ -48,6 +48,10 @@ libcamera_base_deps = [ libunwind, ] +if host_machine.system() == 'android' + libcamera_soversion = '' +endif + # Internal components must use the libcamera_base_private dependency to enable # the use of headers which must not be exposed to the libcamera public api. libcamera_base_args = [ '-DLIBCAMERA_BASE_PRIVATE' ] diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 6aedacbd..49c1bede 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -194,6 +194,10 @@ libcamera_shader_headers = custom_target( libcamera_internal_headers += libcamera_shader_headers +if host_machine.system() == 'android' + libcamera_soversion = '' +endif + # We add '/' to the build_rpath as a 'safe' path to act as a boolean flag. # The build_rpath is stripped at install time by meson, so we determine at # runtime if the library is running from an installed location by checking