Skip to content

Commit

Permalink
Fix build on Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Slendi <slendi@socopon.com>
  • Loading branch information
xslendix committed May 3, 2024
1 parent c9a7915 commit 8e67f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CFLAGS = -I. -Wall -Wextra -O0 -ggdb #-O3

# Linux/X11
libvinput.so: src/libvinput.c src/linux_emu.c src/linux.c
$(CC) $(CFLAGS) -fPIC -o $@ -shared $^
$(CC) $(CFLAGS) -fPIC -o $@ -shared $^ -lX11 -lXtst -I/usr/local/include -L/usr/local/lib -lxdo

wordlogger: wordlogger.c
$(CC) $(CFLAGS) wordlogger.c -o $@ -L. -lvinput -lX11 -lXtst -I/usr/local/include -L/usr/local/lib -lxdo
Expand Down

0 comments on commit 8e67f8a

Please sign in to comment.