equal
deleted
inserted
replaced
378 def project_definition_file_name() |
378 def project_definition_file_name() |
379 return "#{self.directory.gsub(File::SEPARATOR, "_")}.st" |
379 return "#{self.directory.gsub(File::SEPARATOR, "_")}.st" |
380 end |
380 end |
381 |
381 |
382 def dll_name_without_suffix() |
382 def dll_name_without_suffix() |
383 return "lib#{self.directory.gsub(File::SEPARATOR, "_")}" |
383 # Sigh, a special hack for stx:librun which is NOT |
|
384 # libstx_librun.so/fll but just librun.so / librun.dll |
|
385 # and for STC which produces no .so / .dll |
|
386 case self.name |
|
387 when 'stx:stc' |
|
388 return nil |
|
389 when 'stx:librun' |
|
390 return 'librun' |
|
391 else |
|
392 return "lib#{self.directory.gsub(File::SEPARATOR, "_")}" |
|
393 end |
384 end |
394 end |
385 |
395 |
386 def dll_name() |
396 def dll_name() |
387 case |
397 case |
|
398 when self.name == 'stx:stc' |
|
399 return nil |
388 when win32? |
400 when win32? |
389 return "#{dll_name_without_suffix()}.dll" |
401 return "#{dll_name_without_suffix()}.dll" |
390 when unix? |
402 when unix? |
391 return"#{dll_name_without_suffix()}.so" |
403 return"#{dll_name_without_suffix()}.so" |
392 else |
404 else |