Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 338161
Collapse All | Expand All

(-)configure.ac (-4 / +4 lines)
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])
(-)Bindings/Caml/Makefile.in (-2 / +2 lines)
Lines 55-67 Link Here
55
all : $(OCAML_FILES)
55
all : $(OCAML_FILES)
56
56
57
$(OCAML_CLIBS) : brlapi_stubs.$O
57
$(OCAML_CLIBS) : brlapi_stubs.$O
58
	$(OCAMLMKLIB) $(API_LDFLAGS) -oc $(OCAML_LIB)_stubs brlapi_stubs.$O
58
	$(OCAMLMKLIB) -ldopt "$(LDFLAGS)"  $(API_LDFLAGS) -oc $(OCAML_LIB)_stubs brlapi_stubs.$O
59
59
60
$(OCAML_BCLIB) : $(OCAML_CLIBS) brlapi.cmo
60
$(OCAML_BCLIB) : $(OCAML_CLIBS) brlapi.cmo
61
	$(OCAMLC) -a $(OCAMLMKLIB_FLAGS) -o $(OCAML_LIB).cma brlapi.cmo
61
	$(OCAMLC) -a $(OCAMLMKLIB_FLAGS) -o $(OCAML_LIB).cma brlapi.cmo
62
62
63
$(OCAML_NCLIB) : $(OCAML_CLIBS) brlapi.cmx
63
$(OCAML_NCLIB) : $(OCAML_CLIBS) brlapi.cmx
64
	$(OCAMLMKLIB) $(OCAMLMKLIBOPT_FLAGS) -o $(OCAML_LIB) brlapi.cmx
64
	$(OCAMLMKLIB) -ldopt "$(LDFLAGS)"  $(OCAMLMKLIBOPT_FLAGS) -o $(OCAML_LIB) brlapi.cmx
65
65
66
brlapi.cmi: brlapi.mli
66
brlapi.cmi: brlapi.mli
67
	$(OCAMLC) -o $@ -c brlapi.mli
67
	$(OCAMLC) -o $@ -c brlapi.mli

Return to bug 338161