diff options
author | Fred Hornsey <hornseyf@objectcomputing.com> | 2020-12-02 21:31:55 -0600 |
---|---|---|
committer | Fred Hornsey <hornseyf@objectcomputing.com> | 2020-12-02 21:45:04 -0600 |
commit | 1c2a17feff1f9cbac974a56f743b73225e3c7b54 (patch) | |
tree | bffb8c3130713d050c71c615e641246912672a0d /ACE/include/makeinclude/wrapper_macros.GNU | |
parent | c62ecd5955c1350fa25f95deb9bce2c81bc70f1c (diff) | |
download | ATCD-1c2a17feff1f9cbac974a56f743b73225e3c7b54.tar.gz |
Fix Issue on Android Where SONAME is Needed
When trying to use CMake imported ACE libraries in a Android Studio
native project, the path the Android loader was trying to use on the
device was the path on the host computer. The solution from online was
to set SONAME on the library files. SONAME (versioned_so) is disabled
for Android currently, because Android Studio doesn't accept so files
with versions after the file extension. Because of this I changed how
SONAME is set to make that possible to forego adding the version. This
shouldn't hurt use cases where this isn't an issue, so I made it so
gnuace always builds like that for Android.
Diffstat (limited to 'ACE/include/makeinclude/wrapper_macros.GNU')
-rw-r--r-- | ACE/include/makeinclude/wrapper_macros.GNU | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/wrapper_macros.GNU b/ACE/include/makeinclude/wrapper_macros.GNU index 0966a023d0e..fc5535535dc 100644 --- a/ACE/include/makeinclude/wrapper_macros.GNU +++ b/ACE/include/makeinclude/wrapper_macros.GNU @@ -82,6 +82,8 @@ # the version will be appended to the name but *before* the # $(SOEXT) - it should have a lead '-' - else it defaults to # -ACE_MAJOR.ACE_MINOR.ACE_MICRO. +# If versioned_so is 3, then set the SONAME, but without a +# version. # wfmo Build with wfmo support (Win32 only) # winregistry Build with windows registry support (Win32 only) # winnt Build WinNT-specific projects (Win32 only) |