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:
parent
ab389d4e71
commit
f30ad05c70
|
|
@ -55,7 +55,10 @@ Traffic Legend:
|
|||
self.wrap_times = [0, 0, 0]
|
||||
|
||||
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
|
||||
|
||||
for rdir in rebinder_path:
|
||||
|
|
|
|||
Loading…
Reference in New Issue