Lines 377-383
Link Here
|
377 |
case "${host_os}" |
377 |
case "${host_os}" |
378 |
in |
378 |
in |
379 |
linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|cygwin*|mingw*|eabi*) |
379 |
linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|cygwin*|mingw*|eabi*) |
380 |
brltty_mkmod_ld_make="-shared" |
380 |
brltty_mkmod_ld_make="-shared ${LDFLAGS}" |
381 |
;; |
381 |
;; |
382 |
solaris*) |
382 |
solaris*) |
383 |
brltty_mkmod_ld_make="-G" |
383 |
brltty_mkmod_ld_make="-G" |
Lines 404-410
Link Here
|
404 |
esac |
404 |
esac |
405 |
if test "${GCC}" = "yes" |
405 |
if test "${GCC}" = "yes" |
406 |
then |
406 |
then |
407 |
brltty_cv_prog_mkmod="\$(CC) ${brltty_mkmod_gcc_make=-shared} BRLTTY_OPTIONS_LD2CC([${brltty_mkmod_ld_options}]) -o" |
407 |
brltty_cv_prog_mkmod="\$(CC) ${brltty_mkmod_gcc_make=-shared} ${LDFLAGS} BRLTTY_OPTIONS_LD2CC([${brltty_mkmod_ld_options}]) -o" |
408 |
else |
408 |
else |
409 |
brltty_cv_prog_mkmod="\$(LD) ${brltty_mkmod_ld_make} ${brltty_mkmod_ld_options} -o" |
409 |
brltty_cv_prog_mkmod="\$(LD) ${brltty_mkmod_ld_make} ${brltty_mkmod_ld_options} -o" |
410 |
fi]) |
410 |
fi]) |
Lines 414-420
Link Here
|
414 |
case "${host_os}" |
414 |
case "${host_os}" |
415 |
in |
415 |
in |
416 |
linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|eabi*) |
416 |
linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|eabi*) |
417 |
brltty_mklib_ld_make="-shared" |
417 |
brltty_mklib_ld_make="-shared ${LDFLAGS}" |
418 |
brltty_mklib_ld_options="-soname" |
418 |
brltty_mklib_ld_options="-soname" |
419 |
;; |
419 |
;; |
420 |
solaris*) |
420 |
solaris*) |
Lines 449-455
Link Here
|
449 |
esac |
449 |
esac |
450 |
if test "${GCC}" = "yes" |
450 |
if test "${GCC}" = "yes" |
451 |
then |
451 |
then |
452 |
brltty_cv_prog_mklib="\$(CC) ${brltty_mklib_gcc_make=-shared} BRLTTY_OPTIONS_LD2CC([${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>}]) -o" |
452 |
brltty_cv_prog_mklib="\$(CC) ${brltty_mklib_gcc_make=-shared} ${LDFLAGS} BRLTTY_OPTIONS_LD2CC([${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>}]) -o" |
453 |
else |
453 |
else |
454 |
brltty_cv_prog_mklib="\$(LD) ${brltty_mklib_ld_make} ${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>} -o" |
454 |
brltty_cv_prog_mklib="\$(LD) ${brltty_mklib_ld_make} ${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>} -o" |
455 |
fi]) |
455 |
fi]) |