More FreeBSD fixes ... add -lusbhid where needed.
This commit is contained in:
parent
4de23ad628
commit
16ca655c03
3 changed files with 6 additions and 3 deletions
|
@ -220,6 +220,9 @@ dnl check for some default libraries
|
|||
AC_SEARCH_LIBS(cos, m)
|
||||
AC_SEARCH_LIBS(dlclose, dl)
|
||||
|
||||
dnl search for FreeBSD library
|
||||
AC_SEARCH_LIBS(hid_init, usbhid)
|
||||
|
||||
base_LIBS="$LIBS"
|
||||
|
||||
dnl Check for SDL if enabled.
|
||||
|
|
|
@ -6,10 +6,10 @@ bin_PROGRAMS = js_demo fgjs
|
|||
|
||||
js_demo_SOURCES = js_demo.cxx
|
||||
|
||||
js_demo_LDADD = -lplibjs $(audio_LIBS) -lplibul
|
||||
js_demo_LDADD = -lplibjs $(base_LIBS) $(audio_LIBS) -lplibul
|
||||
|
||||
fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
|
||||
|
||||
fgjs_LDADD = -lplibjs $(audio_LIBS) -lplibul
|
||||
fgjs_LDADD = -lplibjs $(base_LIBS) $(audio_LIBS) -lplibul
|
||||
|
||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
sbin_PROGRAMS = js_server
|
||||
|
||||
js_server_SOURCES = js_server.cxx
|
||||
js_server_LDADD = -lplibjs -lplibnet -lplibul $(audio_LIBS) $(network_LIBS)
|
||||
js_server_LDADD = -lplibjs -lplibnet -lplibul $(base_LIBS) $(audio_LIBS) $(network_LIBS)
|
||||
|
|
Loading…
Add table
Reference in a new issue