Pthread library should be included in library version too.

This commit is contained in:
chad 2015-11-13 16:00:28 -05:00
parent 3337cd201b
commit 0397e6545a

View file

@ -15,7 +15,7 @@ harptool: harptool.o libharplib.a
$(CXX) $(LDFLAGS) -o $@ harptool.o libharplib.a $(LDLIBS)
libharplib.so: $(LIB_OBJS)
$(CXX) -shared -o $@ $(LIB_OBJS)
$(CXX) -shared -o $@ $(LIB_OBJS) $(LDLIBS)
libharplib.a: $(LIB_OBJS)
ar rcs $@ $(LIB_OBJS)