B
    b              	   @   s   d Z ddlZddlZddlmZ dZyedZ	W n e
efk
rN   g Z	Y nX x*e	D ]"Zde d ZejerVeZP qVW dd	 Zd
d ZdS )zSCons.Tool.hplink

Tool-specific initialization for the HP linker.

There normally shouldn't be any need to import this module directly.
It will usually be imported through the generic SCons.Tool.Tool()
selection method.
    N   )linkz/optz/opt/z/bin/aCCc             C   s6   t |  tjd| d< tjd| d< d| d< dS )z^
    Add Builders and construction variables for Visual Age linker to
    an Environment.
    z-Wl,+s -Wl,+vnocompatwarningsZ	LINKFLAGSz$LINKFLAGS -bZSHLINKFLAGSz.slZSHLIBSUFFIXN)r   generateSConsZUtilZCLVar)env r   0lib/python3.7/site-packages/SCons/Tool/hplink.pyr   6   s    
r   c             C   s   t S )N)ccLinker)r   r   r   r   existsA   s    r
   )__doc__os.pathosZ
SCons.Utilr    r   r	   listdirdirsIOErrorOSErrordirZlinkerpathr
   r   r   r   r   r   <module>   s   

