Skip to content

Commit

Permalink
Prefer static link to boost libs
Browse files Browse the repository at this point in the history
  • Loading branch information
aedalzotto committed Dec 14, 2020
1 parent 39810e8 commit b6e5564
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 @@ -4,7 +4,7 @@ SRCDIR = src
INCDIR = src/include

CPPFLAGS = -I$(INCDIR) -O3 `pkg-config --cflags libusb-1.0`
LDFLAGS = -lboost_program_options `pkg-config --libs libusb-1.0`
LDFLAGS = -l:libboost_program_options.a `pkg-config --libs libusb-1.0`

SRC = $(wildcard $(SRCDIR)/*.cpp)
OBJ = $(patsubst %.cpp, %.o, $(SRC))
Expand Down

0 comments on commit b6e5564

Please sign in to comment.