Description: avoid link against .so instead of .so.2 for liboctaveinterp.
 This is relevant for older Debian/Ubuntus.
Author: Yaroslav Halchenko <debian@onerussian.com>
Forwarded: not-needed
Reviewed-by: Étienne Mollier <emollier@debian.org>
Last-Update: 2016-03-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/PsychSourceGL/Source/striplibsfrommexfile.m
+++ b/PsychSourceGL/Source/striplibsfrommexfile.m
@@ -51,6 +51,9 @@ if exist(filename, 'file')
     image = stripLibrary(image, 'libcruft');
     image = stripLibrary(image, 'liboctave');
 
+    % No renamings for Debian package version
+    alsorenameit = 0;
+
     if alsorenameit
         % Rename the following libraries in image: We rename from .so.2 to .so,
         % etc. to make these mex files built on/against Octave-3/4 compatible with
