Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
dermasmid committed Jun 9, 2024
1 parent 3d03041 commit f3aeb8f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 30 deletions.
41 changes: 14 additions & 27 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# may be redefined in command line on configuration stage
# "BUILD_LIBRDKAFKA%": "<!(echo ${BUILD_LIBRDKAFKA:-1})"
"BUILD_LIBRDKAFKA%": "<!(node ./util/get-env.js BUILD_LIBRDKAFKA 1)",
"CKJS_LINKING%": "<!(node ./util/get-env.js CKJS_LINKING static)",
},
"targets": [
{
Expand Down Expand Up @@ -87,36 +86,24 @@
],
'conditions': [
[
'CKJS_LINKING=="dynamic"',
{
"conditions": [
[
'OS=="mac"',
{
"libraries": [
"../build/deps/librdkafka.dylib",
"../build/deps/librdkafka++.dylib",
"-Wl,-rpath,'$$ORIGIN/../deps'",
],
},
{
"libraries": [
"../build/deps/librdkafka.so",
"../build/deps/librdkafka++.so",
"-Wl,-rpath,'$$ORIGIN/../deps'",
],
},
]
]
},
'OS=="linux"',
{
"libraries": [
"../build/deps/librdkafka-static.a",
"../build/deps/librdkafka++.a",
"-Wl,-rpath,'$$ORIGIN/../deps'",
"../build/deps/librdkafka",
"../build/deps/librdkafka++",
"-Wl,-rpath='$$ORIGIN/../deps'",
],
}
],
[
'OS=="mac"',
{
"libraries": [
"../build/deps/librdkafka.dylib",
"../build/deps/librdkafka++.dylib",
],
}
]
],
},
# Else link against globally installed rdkafka and use
Expand Down Expand Up @@ -165,4 +152,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triplewhale/node-rdkafka",
"version": "4.0.38",
"version": "4.1.0",
"description": "Node.js bindings for librdkafka",
"librdkafka": "2.4.0",
"main": "lib/index.js",
Expand Down

0 comments on commit f3aeb8f

Please sign in to comment.