Skip to content

Commit 5d66588

Browse files
committed
Setup mac and linux library
1 parent 7f422a7 commit 5d66588

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/ZMQ/LibZMQ.class.st

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,21 @@ LibZMQ class >> repositoryDirectory [
2727
^ myRepository location
2828
]
2929

30-
{ #category : #'accessing platform' }
30+
{ #category : #'accessing - platform' }
3131
LibZMQ >> macLibraryName [
3232

33-
^ (self class repositoryDirectory / 'include' / 'libzmq.dylib') asFileReference pathString
33+
"^ (self class repositoryDirectory / 'include' / 'libzmq.dylib') asFileReference pathString"
34+
^ FFIMacLibraryFinder findLibrary: 'libzmq.dylib'
3435
]
3536

36-
{ #category : #'accessing platform' }
37+
{ #category : #'accessing - platform' }
3738
LibZMQ >> unixLibraryName [
3839

39-
^ (self class repositoryDirectory / 'include' / 'libzmq.so') asFileReference pathString
40+
"^ (self class repositoryDirectory / 'include' / 'libzmq.so') asFileReference pathString"
41+
^ FFIUnix32LibraryFinder findLibrary: 'libzmq.so'
4042
]
4143

42-
{ #category : #'accessing platform' }
44+
{ #category : #'accessing - platform' }
4345
LibZMQ >> win32LibraryName [
4446

4547
^ (self class repositoryDirectory / 'include' / 'zmq.dll') asFileReference pathString

0 commit comments

Comments
 (0)