diff options
author | Nicolas Williams <nico@cryptonector.com> | 2014-08-20 20:48:48 -0500 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2014-08-20 20:48:48 -0500 |
commit | 8d2d5e37e54ecfa823f0a5c6e9644aa2e97d5ee6 (patch) | |
tree | 2903675f4f2dfc5cde829be1863294fd04740a37 /linker.c | |
parent | 287e2c96ed795ebd57875a855d2ed5894311ecbb (diff) |
Drop "any/" in module search; use 1.x-master
Diffstat (limited to 'linker.c')
-rw-r--r-- | linker.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -88,9 +88,9 @@ static jv find_lib(jq_state *jq, jv lib_name, jv lib_search_path, int use_vers_d jv version_dirs; if (use_vers_dir) { - version_dirs = JV_ARRAY(jv_string("any/"), - jv_string_concat(jq_get_version_dir(jq), - jv_string("/"))); + jv vdir = jq_get_version_dir(jq); + assert(strchr(jv_string_value(vdir), '.') != NULL); + version_dirs = JV_ARRAY(jv_string(""), jv_string_concat(vdir, jv_string("/"))); } else { version_dirs = JV_ARRAY(jv_string("")); } |