Skip to content

Commit

Permalink
Fix compilation on DragonFlyBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Oct 25, 2024
1 parent 9c50cb0 commit 04ef812
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ if [ "$UNAME" = "OpenBSD" ]; then OPENBSD=true; POSIX=true; fi
unset NETBSD
## if [ "$UNAME" = "NetBSD" ]; then NETBSD=true; POSIX=true; fi

unset DRAGONFLY
if [ "$UNAME" = "DragonFly" ]; then DRAGONFLY=true; POSIX=true; fi

unset BSD
if [ -n "$FREEBSD" ] || [ -n "$OPENBSD" ] || [ -n "$NETBSD" ]; then
if [ -n "$FREEBSD" ] || [ -n "$OPENBSD" ] || [ -n "$NETBSD" ] || [ -n "$DRAGONFLY" ]; then
BSD=true
fi

Expand All @@ -69,6 +72,9 @@ if [ -n "$WINDOWS" ]; then
elif [ -n "$FREEBSD" ]; then
LIBRARIES=

elif [ -n "$DRAGONFLY" ]; then
LIBRARIES=

elif [ -n "$OPENBSD" ]; then
LIBRARIES=bind
LIBDIRS=-L/usr/local/lib/libbind
Expand Down

0 comments on commit 04ef812

Please sign in to comment.