diff options
author | Simon Warta <[email protected]> | 2015-06-20 18:52:45 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-20 18:52:45 +0200 |
commit | 7dcf597fe0a7e513977e50758d649e86416f1a43 (patch) | |
tree | 07ac80b9ee3e92a155211360d72d2c56a1920d3a /src/build-data/makefile/gmake_dso.in | |
parent | aa01b0f02df505ba7e6f52a6449fe7112ce2acae (diff) | |
parent | b5aa126daef403e7410a769dc262cf683ce36202 (diff) |
Merge pull request #121 from webmaster128/prefix-gmake-includes
Prefix gmake includes
Diffstat (limited to 'src/build-data/makefile/gmake_dso.in')
-rw-r--r-- | src/build-data/makefile/gmake_dso.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/build-data/makefile/gmake_dso.in b/src/build-data/makefile/gmake_dso.in new file mode 100644 index 000000000..0e7974791 --- /dev/null +++ b/src/build-data/makefile/gmake_dso.in @@ -0,0 +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} + +SHARED_LIB = %{out_dir}/$(SHARED_LIB_NAME) + +$(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) + +LIBRARIES += $(SHARED_LIB) |