Fix #97: rebind.so not found when installed
This should fix the upstream Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719889
This commit is contained in:
@@ -55,7 +55,10 @@ Traffic Legend:
|
|||||||
self.wrap_times = [0, 0, 0]
|
self.wrap_times = [0, 0, 0]
|
||||||
|
|
||||||
if self.wrap_cmd:
|
if self.wrap_cmd:
|
||||||
rebinder_path = ['./', os.path.dirname(sys.argv[0])]
|
wsdir = os.path.dirname(sys.argv[0])
|
||||||
|
rebinder_path = [os.path.join(wsdir, "..", "lib"),
|
||||||
|
os.path.join(wsdir, "..", "lib", "websockify"),
|
||||||
|
wsdir]
|
||||||
self.rebinder = None
|
self.rebinder = None
|
||||||
|
|
||||||
for rdir in rebinder_path:
|
for rdir in rebinder_path:
|
||||||
|
|||||||
Reference in New Issue
Block a user