Skip to content

Commit

Permalink
Fix make check and make install on MacOS
Browse files Browse the repository at this point in the history
Fixes #38, #39
  • Loading branch information
brentos committed Sep 19, 2024
1 parent d6ebdaa commit 012af09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ docs:
check_PROGRAMS = tests/simple_get

if OSX
AM_LDFLAGS = -framework CoreFoundation
AM_LDFLAGS = -framework CoreFoundation -framework Security
endif

if LINUX
Expand Down
2 changes: 1 addition & 1 deletion tests/simple_get.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "coraza/coraza.h"

void logcb(void *log, const void *data)
void logcb(const void *data)
{
printf("%s\n", (const char *)data);
}
Expand Down

0 comments on commit 012af09

Please sign in to comment.