Skip to content

Commit

Permalink
Make milter to respect $THREAD_LIBS instead of force -lpthread
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgarga authored and Mickey Sola (micksola) committed Aug 8, 2018
1 parent 09e9c71 commit 68afd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/reorganization/milter/check.m4
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if test "$have_milter" = "yes"; then

dnl Check for libmilter and it's header files in the usual locations
save_LIBS="$LIBS"
CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS $THREAD_LIBS"
if test -d /usr/lib/libmilter ; then
CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
fi
Expand Down

0 comments on commit 68afd22

Please sign in to comment.