Skip to content

Commit 17f2e85

Browse files
committed
Added version numbers to dynamic libraries as observed by
@mdimjasevic
1 parent b549b88 commit 17f2e85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

driver/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
234234
#iam: the object file recogition is not really very robust, object files
235235
# should be determined by their existance and contents...
236236
r'^.+\.(o|lo|So|so|po|a|dylib)$' : (0, ArgumentListFilter.objectFileCallback),
237+
#iam: library.so.4.5.6 probably need a similar pattern for .dylib too.
238+
r'^.+\.dylib(\.\d)+$' : (0, ArgumentListFilter.objectFileCallback),
239+
r'^.+\.(So|so)(\.\d)+$' : (0, ArgumentListFilter.objectFileCallback),
237240
r'^-(l|L).+$' : (0, ArgumentListFilter.linkUnaryCallback),
238241
r'^-I.+$' : (0, ArgumentListFilter.compileUnaryCallback),
239242
r'^-D.+$' : (0, ArgumentListFilter.compileUnaryCallback),

0 commit comments

Comments
 (0)