aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--unittest/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c5a4435..1b4a261 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ DEPENDS = $(CXXSOURCES:%.cc=$(BUILD)/%.d)
all: $(OBJ) $(BUILD)/libnitrokey.so unittest
$(BUILD)/libnitrokey.so: $(OBJ) $(DEPENDS)
- $(CXX) $(SOFLAGS) $(OBJ) -o $@
+ $(CXX) $(SOFLAGS) $(OBJ) $(LIB) -o $@
$(BUILD)/%.d: %.cc
$(CXX) -M $< -o $@ $(INCLUDE) $(CXXFLAGS)
diff --git a/unittest/Makefile b/unittest/Makefile
index fb3f4ef..145c738 100644
--- a/unittest/Makefile
+++ b/unittest/Makefile
@@ -4,7 +4,7 @@ LD = $(CXX)
INCLUDE = -I../include
LIB = -L../build
-LDLIBS = -lhidapi-libusb -lnitrokey
+LDLIBS = -lnitrokey
BUILD = build
CXXFLAGS = -std=c++14 -fPIC