experimental OpenBSD build fix
MODIFY
experimental/argv_fuzzing/Makefile
experimental/argv_fuzzing/Makefile
@@ -18,7 +18,11 @@ BIN_PATH = $(PREFIX)/bin
HELPER_PATH = $(PREFIX)/lib/afl
CFLAGS = -fPIC -Wall -Wextra
-LDFLAGS = -shared -ldl
+LDFLAGS = -shared
+
+ifneq "$(filter Linux GNU%,$(shell uname))" ""
+ LDFLAGS += -ldl
+endif
all: argvfuzz32.so argvfuzz64.so

MODIFY
experimental/socket_fuzzing/Makefile
experimental/socket_fuzzing/Makefile
@@ -16,7 +16,11 @@ BIN_PATH = $(PREFIX)/bin
HELPER_PATH = $(PREFIX)/lib/afl
CFLAGS = -fPIC -Wall -Wextra
-LDFLAGS = -shared -ldl
+LDFLAGS = -shared
+
+ifneq "$(filter Linux GNU%,$(shell uname))" ""
+ LDFLAGS += -ldl
+endif
all: socketfuzz32.so socketfuzz64.so

experimental OpenBSD build fix