zmap formula's patch for JSON support actually removes JSON support flag #3178
-
The - add_definitions("-DJSON")
+ string(REPLACE ";" " " JSON_CFLAGS "${JSON_CFLAGS}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${JSON_CFLAGS}") It should instead read: add_definitions("-DJSON")
+ string(REPLACE ";" " " JSON_CFLAGS "${JSON_CFLAGS}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${JSON_CFLAGS}") I'm not sure how to propose such a patch for the formula as i'm not familiar with writing formulas, so i opened this discussion. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I created Homebrew/homebrew-core#99167 to fix this |
Beta Was this translation helpful? Give feedback.
I created Homebrew/homebrew-core#99167 to fix this