diff options
author | Simon Warta <[email protected]> | 2015-08-22 19:05:23 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-08-24 19:04:29 +0200 |
commit | a9be4d157cc913c9a7e93a08cc81c8a3603061b3 (patch) | |
tree | e438dfd0e38dcd43a48bd2a8cc1764227511272c /src/build-data/makefile | |
parent | ce849c364c29ce020369685ce8d221f8e67cf538 (diff) |
Add soname_pattern
Fixes #241
Diffstat (limited to 'src/build-data/makefile')
-rw-r--r-- | src/build-data/makefile/gmake_dso.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/build-data/makefile/gmake_dso.in b/src/build-data/makefile/gmake_dso.in index 0e7974791..fa167b780 100644 --- a/src/build-data/makefile/gmake_dso.in +++ b/src/build-data/makefile/gmake_dso.in @@ -1,12 +1,12 @@ -SHARED_LIB_NAME = $(LIB_BASENAME).%{so_suffix}.%{so_abi_rev}.%{version_patch} -SONAME = $(LIB_BASENAME).%{so_suffix}.%{so_abi_rev} -SYMLINK = $(LIB_BASENAME).%{so_suffix} +SONAME_PATCH = %{soname_patch} +SONAME_ABI = %{soname_abi} +SONAME_BASE = %{soname_base} -SHARED_LIB = %{out_dir}/$(SHARED_LIB_NAME) +SHARED_LIB = %{out_dir}/$(SONAME_PATCH) $(SHARED_LIB): $(LIBOBJS) $(LIB_LINK_CMD) $(LDFLAGS) $(LIBOBJS) $(LIB_LINKS_TO) -o $(SHARED_LIB) - $(LN) $(SHARED_LIB_NAME) %{out_dir}/$(SONAME) - $(LN) $(SHARED_LIB_NAME) %{out_dir}/$(SYMLINK) + $(LN) $(SONAME_PATCH) %{out_dir}/$(SONAME_ABI) + $(LN) $(SONAME_PATCH) %{out_dir}/$(SONAME_BASE) LIBRARIES += $(SHARED_LIB) |