<commit_before>import Utils
import os

def add_install_flag(bld, obj):
    env = bld.env

    if env['explicit_install_name']:
        libname = obj.env["cshlib_PATTERN"] % obj.target
        insname = os.path.join(obj.env["PREFIX"], 'lib', libname)
        obj.env.append_unique("LINKFLAGS", '-install_name ' + insname)
<commit_msg>BUG(2459): Pass LINKFLAGS as list, not space separated string.<commit_after>import Utils
import os

def add_install_flag(bld, obj):
    env = bld.env

    if env['explicit_install_name']:
        libname = obj.env["cshlib_PATTERN"] % obj.target
        insname = os.path.join(obj.env["PREFIX"], 'lib', libname)
        obj.env.append_unique("LINKFLAGS", ["-install_name", insname])

{'fraction_non_alphanumeric': 0.14125874125874127, 'fraction_numerical': 0.005594405594405594, 'mean_word_length': 3.8378378378378377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6226947', 'n_tokens_mistral': 252, 'n_tokens_neox': 245, 'n_words': 50}