#NEWLINE# def fix_libudef( dest ) : #NEWLINE# #INDENT# ' Fix the dependency for libudef by making a link to libudef.so.1.\n    \n    github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0 \n    ' #NEWLINE# paths = [ '/lib/x86_64-linux-gnu/libudev.so.1' , '/usr/lib64/libudev.so.1' , '/usr/lib/libudev.so.1' , '/lib/i386-linux-gnu/libudev.so.1' ] #NEWLINE# target = os . path . join ( dest , 'libudev.so.0' ) #NEWLINE# for path in paths : #NEWLINE# #INDENT# if ( os . path . isfile ( path ) and ( not os . path . isfile ( target ) ) ) : #NEWLINE# #INDENT# os . symlink ( path , paths )