Ignore:
Timestamp:
Dec 19, 2019 2:57:20 AM (5 years ago)
Author:
nanang
Message:

Fix #2256: Mini refactored Android configure script:

  • added CXXFLAGS & LDFLAGS parsing (from ndk-build output), CXXFLAGS was set to CFLAGS.
  • updated WebRTC instruction set to use SSE2, was generic, for Android emulator (x86 ABI).
  • updated C++ library/STL backend to use c++_shared, somehow '-lc++_static' is ignored after the refactor, also the official NDK docs mentions that c++_static may cause undefined behavior for app with multiple shared libraries (note pjsua2 app may use other shared libraries).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r6110 r6120  
    20852085                                ac_webrtc_instset=mips 
    20862086                                ;; 
     2087                            x86*) 
     2088                                ac_webrtc_instset=sse2 
     2089                                ;; 
    20872090                            *) 
    20882091                                ac_webrtc_instset=generic 
Note: See TracChangeset for help on using the changeset viewer.