android: Don't set soversion

Change-Id: Ic8056f5bf13d9706fb1671dbfbebeb03c45515c8
This commit is contained in:
Konsta
2023-03-25 15:06:34 +02:00
parent d1d0c73304
commit caeab4e6ef
2 changed files with 8 additions and 0 deletions

View File

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

View File

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