diff --git a/lib/Makefile b/lib/Makefile index f3641131..45a66fe2 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -4,7 +4,7 @@ LIBXBPS_MAJOR = 0 LIBXBPS_MINOR = 0 LIBXBPS_MICRO = 0 LIBXBPS_SHLIB = libxbps.so.$(LIBXBPS_MAJOR).$(LIBXBPS_MINOR).$(LIBXBPS_MICRO) -LDFLAGS += -larchive -lssl -lz +LDFLAGS += -lpthread -larchive -lssl -lz LDFLAGS += -shared -Wl,-soname,libxbps.so.$(LIBXBPS_MAJOR) # portableproplib