diff options
author | Jason Parker <jparker@digium.com> | 2012-12-17 20:59:51 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2012-12-17 20:59:51 +0000 |
commit | 7ecf0aa94b3d23e91611e5769e9c1b2148d79ed5 (patch) | |
tree | 52d34112ff453e992fe0ce20790cb05135b9a54c | |
parent | 87cb8e94cda0194da5bfebd5034fcc318e65477e (diff) |
Make libasteriskssl.so symlink use a relative path.
This was causing issues when using DESTDIR, since the path to which the link
pointed is not likely to exist (and not useful to exist) on the target system.
(issue ASTNOW-284)
........
Merged revisions 378073 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@378074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/Makefile b/main/Makefile index 2adc500fd..d0a2d0559 100644 --- a/main/Makefile +++ b/main/Makefile @@ -259,7 +259,7 @@ bininstall: ifeq ($(AST_ASTERISKSSL),yes) ifeq ($(findstring darwin,$(OSARCH)),) # not Darwin $(INSTALL) -m 755 $(ASTSSL_LIB).$(ASTSSL_SO_VERSION) "$(DESTDIR)$(ASTLIBDIR)/" - $(LN) -sf "$(DESTDIR)$(ASTLIBDIR)/$(ASTSSL_LIB).$(ASTSSL_SO_VERSION)" "$(DESTDIR)$(ASTLIBDIR)/$(ASTSSL_LIB)" + $(LN) -sf $(ASTSSL_LIB).$(ASTSSL_SO_VERSION) "$(DESTDIR)$(ASTLIBDIR)/$(ASTSSL_LIB)" else # Darwin $(INSTALL) -m 755 $(ASTSSL_LIB) "$(DESTDIR)$(ASTLIBDIR)/" endif |