[svn-commits] qwell: branch 11 r378073 - /branches/11/main/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 17 14:58:55 CST 2012


Author: qwell
Date: Mon Dec 17 14:58:52 2012
New Revision: 378073

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=378073
Log:
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)

Modified:
    branches/11/main/Makefile

Modified: branches/11/main/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/Makefile?view=diff&rev=378073&r1=378072&r2=378073
==============================================================================
--- branches/11/main/Makefile (original)
+++ branches/11/main/Makefile Mon Dec 17 14:58:52 2012
@@ -259,7 +259,7 @@
 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




More information about the svn-commits mailing list