Changes between Version 22 and Version 23 of Python_SIP/Build_Install


Ignore:
Timestamp:
May 16, 2016 5:39:34 AM (9 years ago)
Author:
nanang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python_SIP/Build_Install

    v22 v23  
    5555 }}} 
    5656 
     57Note that depending on Python installation, Python extension setup mechanism will link the library using some default architectures, e.g: {{{ppc}}}, {{{i386}}}, and/or {{{x86_64}}}, which may contain different architectures to the library's so it may raise warning message: 
     58 {{{ 
     59   ld: warning: ignoring file ..., file was built for archive which is not the architecture being linked (...) 
     60 }}} 
     61To avoid such warning, specify the architecture(s) to be linked via environment variable {{{ARCHFLAGS}}} before invoking {{{make}}}, e.g: 
     62 {{{ 
     63#!sh 
     64   $ export ARCHFLAGS="-arch x86_64" 
     65   $ cd pjsip-apps/src/python 
     66   $ sudo make 
     67 }}} 
    5768 
    5869=== Microsoft Windows with Visual Studio ===