Skip to content

Commit

Permalink
Switch to static compilation for the hidapi library, which is not
Browse files Browse the repository at this point in the history
available for Raspbian Wheezy.
  • Loading branch information
Matlo committed May 16, 2015
1 parent 8de4328 commit 5677654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makedefs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ endif
LDLIBS += ../shared/event/GE.a -Wl,--whole-archive ../shared/controller/controller.a -Wl,--no-whole-archive ../shared/gpp/gpp.a

ifneq ($(OS),Windows_NT)
LDLIBS += -lXi -lX11 -lhidapi-hidraw
LDLIBS += -lXi -lX11 -Wl,-Bstatic -lhidapi-hidraw -Wl,-Bdynamic -ludev
else
LDLIBS += -lhidapi
endif
Expand Down

0 comments on commit 5677654

Please sign in to comment.