Hello. Prompt why so can happen. Trying to compile...
# kotlin-native
v
Hello. Prompt why so can happen. Trying to compile a static library on macOS and Linux. The library that is compiled on Linux - works fine, but the library that is compiled on macOS does not work in Qt:
Copy code
undefined reference to `ac_path_info_get_app_cache'
Here is the result of outputting nm on Linux:
Copy code
nm libdemo_kmp.a | grep ac_path_info_get_app_cache
00000000000000 T ac_path_info_get_app_cache 
U ac_path_info_get_app_cache

nm -A libdemo_kmp.a | grep ac_path_info_get_app_cache
libdemo_kmp.a:ac_path_info.ac_path_info.bb51b92a2c3716b4-cgu.0.rcgu.o:00000000000000 T ac_path_info_get_app_cache
libdemo_kmp.a:libdemo_kmp.a.o: U ac_path_info_get_app_cache
Here is the output of nm on macOS:
Copy code
nm libdemo_kmp.a | grep ac_path_info_get_app_cache 
U ac_path_info_get_app_cache

nm -A libdemo_kmp.a | grep ac_path_info_get_app_cache
libdemo_kmp.a:/private/var/folders/v1/0hmt9k0s2rj_wfvb9kkm43rw0000gn/T/konan_temp8842548127760527663/libdemo_kmp.a.oac_path_info_get_app_cache