Skip to content

Commit

Permalink
Tweaks for OpenBSD support.
Browse files Browse the repository at this point in the history
- Add linking against BIND library to ensure inet_* functions can be
  found at link time in case libbind headers defined a custom function
  that differs from ones already provided by standard OS libs.
  • Loading branch information
jsiwek committed Jan 6, 2012
1 parent f6b92bf commit 7947a36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion adtrace/CMakeLists.txt
Expand Up @@ -7,6 +7,6 @@ set(adtrace_SRCS

add_executable(adtrace ${adtrace_SRCS})

target_link_libraries(adtrace ${PCAP_LIBRARY})
target_link_libraries(adtrace ${PCAP_LIBRARY} ${BIND_LIBRARY})

AddAuxInstallTarget(adtrace)
2 changes: 1 addition & 1 deletion nftools/CMakeLists.txt
Expand Up @@ -7,7 +7,7 @@ set(ftwire2bro_SRCS

add_executable(ftwire2bro ${ftwire2bro_SRCS})

target_link_libraries(ftwire2bro)
target_link_libraries(ftwire2bro ${BIND_LIBRARY})

AddAuxInstallTarget(ftwire2bro)

Expand Down
2 changes: 1 addition & 1 deletion rst/CMakeLists.txt
Expand Up @@ -4,6 +4,6 @@ set(rst_SRCS

add_executable(rst ${rst_SRCS})

target_link_libraries(rst)
target_link_libraries(rst ${BIND_LIBRARY})

AddAuxInstallTarget(rst)

0 comments on commit 7947a36

Please sign in to comment.