import third_party_utils
from utils import memoize


@memoize
def get_uniq_cfg_path():
    return third_party_utils.default_uniq_cfg_path()

@memoize
def get_link_args(gmp):
    if gmp == 'gmp':
        return third_party_utils.default_get_link_args('gmp')
    elif gmp == 'system':
        return ['-lgmp']
    return []
