source: packages/lang/python-imaging-library/patches/101-cross_compile.patch @ 29141

Last change on this file since 29141 was 29141, checked in by nico, 4 years ago

packages/python-imaging-library: fix cross compile

File size: 1.2 KB
  • setup.py

    a b  
    147147            add_directory(library_dirs, "/opt/local/lib") 
    148148            add_directory(include_dirs, "/opt/local/include") 
    149149 
    150         add_directory(library_dirs, "/usr/local/lib") 
    151150        # FIXME: check /opt/stuff directories here? 
    152151 
    153152        prefix = sysconfig.get_config_var("prefix") 
     
    199198            add_directory(include_dirs, include_root) 
    200199 
    201200        # 
    202         # add standard directories 
    203  
    204         # look for tcl specific subdirectory (e.g debian) 
    205         if _tkinter: 
    206             tcl_dir = "/usr/include/tcl" + TCL_VERSION 
    207             if os.path.isfile(os.path.join(tcl_dir, "tk.h")): 
    208                 add_directory(include_dirs, tcl_dir) 
    209  
    210         # standard locations 
    211         add_directory(library_dirs, "/usr/local/lib") 
    212         add_directory(include_dirs, "/usr/local/include") 
    213  
    214         add_directory(library_dirs, "/usr/lib") 
    215         add_directory(include_dirs, "/usr/include") 
    216  
    217         # 
    218201        # insert new dirs *before* default libs, to avoid conflicts 
    219202        # between Python PYD stub libs and real libraries 
    220203 
Note: See TracBrowser for help on using the repository browser.