File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2745,9 +2745,14 @@ if test $jack_trans_req != no || test $jack_req != no; then
27452745 AC_CHECK_HEADER ( jack/jack.h , FOUND_JACK_H=yes , FOUND_JACK_H=no )
27462746fi
27472747
2748+ if test "${system?}" != Windows; then
2749+ JACK_LIBS=-ldl
2750+ fi
2751+
27482752if test "${jack_trans_req?}" != no && test "${FOUND_JACK_H?}" = yes
27492753then
27502754 OBJS="$OBJS src/audio/jack.o"
2755+ LIBS="$LIBS${JACK_LIBS:+ $JACK_LIBS}"
27512756 AC_DEFINE ( [ HAVE_JACK_TRANS] , [ 1] , [ Build with JACK transport support] )
27522757 jack_trans=yes
27532758fi
@@ -2757,8 +2762,8 @@ then
27572762 JACK_CAP_OBJ="src/audio/capture/jack.o"
27582763 JACK_PLAY_OBJ="src/audio/playback/jack.o"
27592764 jack=yes
2760- add_module acap_jack "$JACK_CAP_OBJ"
2761- add_module aplay_jack "$JACK_PLAY_OBJ"
2765+ add_module acap_jack "$JACK_CAP_OBJ" "${JACK_LIBS-}"
2766+ add_module aplay_jack "$JACK_PLAY_OBJ" "${JACK_LIBS-}"
27622767fi
27632768
27642769ENSURE_FEATURE_PRESENT([ $jack_req] , [ $jack] , [ JACK not found] )
You can’t perform that action at this time.
0 commit comments