Skip to content

Commit b66b506

Browse files
authored
Merge pull request #310 from OpenZWave/bugfix/308-macos-ldconfig
fix build issue on Mac
2 parents ed856d8 + cc304be commit b66b506

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

binding.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
"OPENZWAVE_SECURITY=<!@(find <(OZW_INC) -name ZWSecurity.h | wc -l)",
6060
"OPENZWAVE_EXCEPTIONS=<!@(find <(OZW_INC) -name OZWException.h | wc -l)",
6161
"OPENZWAVE_16=<!@(find <(OZW_INC) -name ValueBitSet.h | wc -l)",
62-
"OPENZWAVE_VALUETYPE_FROM_ENUM=<!@(ldconfig -p | grep 'libopenzwave.so ' | awk '{print $4}' | xargs nm -g --demangle |grep OpenZWave::Value::GetTypeNameFromEnum | wc -l)",
63-
"OPENZWAVE_VALUETYPE_FROM_VALUEID=<!@(ldconfig -p | grep 'libopenzwave.so ' | awk '{print $4}' | xargs nm -g --demangle |grep OpenZWave::ValueID::GetTypeAsString | wc -l)",
62+
"OPENZWAVE_VALUETYPE_FROM_ENUM=<!@(symbols <(OZW_LIB_PATH)/libopenzwave.dylib | awk '{print $4}' | grep OpenZWave::Value::GetTypeNameFromEnum | wc -l)",
63+
"OPENZWAVE_VALUETYPE_FROM_VALUEID=<!@(symbols <(OZW_LIB_PATH)/libopenzwave.dylib | awk '{print $4}' | grep OpenZWave::ValueID::GetTypeAsString | wc -l)",
6464
],
6565
"link_settings": {
6666
"libraries": [

0 commit comments

Comments
 (0)