Skip to content

Instantly share code, notes, and snippets.

@mpurzynski
Created March 24, 2018 07:51
Show Gist options
  • Select an option

  • Save mpurzynski/64b9551d8309b00181c5dbaf5391b5e1 to your computer and use it in GitHub Desktop.

Select an option

Save mpurzynski/64b9551d8309b00181c5dbaf5391b5e1 to your computer and use it in GitHub Desktop.
pthread.patch
diff -ur bro-2.5.9271b2032.orig/aux/broker/tests/CMakeLists.txt bro-2.5.9271b2032/aux/broker/tests/CMakeLists.txt
--- bro-2.5.9271b2032.orig/aux/broker/tests/CMakeLists.txt 2018-03-23 21:29:56.000000000 -0700
+++ bro-2.5.9271b2032/aux/broker/tests/CMakeLists.txt 2018-03-23 23:06:20.000000000 -0700
@@ -13,7 +13,7 @@
add_executable(${name} ${name}.cc)
endif ()
- target_link_libraries(${name} ${libbroker})
+ target_link_libraries(${name} ${libbroker} -lpthread)
if ( ${ARGC} EQUAL 1 )
add_test(NAME ${name} COMMAND ${name})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment