Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/common/include/lib.mak.in b/common/include/lib.mak.in 2index 3afbb14..b8df9d9 100644 3--- a/common/include/lib.mak.in 4+++ b/common/include/lib.mak.in 5@@ -22,7 +22,7 @@ static: $(STATIC_LIB) 6 shared: $(SHARED_LIB) 7 8 $(STATIC_LIB): $(OBJECTS) 9- ar rcs $(STATIC_LIB) $(OBJECTS) 10+ $(AR) rcs $(STATIC_LIB) $(OBJECTS) 11 12 $(SHARED_LIB): $(OBJECTS) 13 $(CC) -shared -Wl,-soname,$(SO_NAME) $(LDFLAGS) -o $(SHARED_LIB) \ 14diff --git a/configure.ac b/configure.ac 15index 82ca3e1..0a78283 100644 16--- a/configure.ac 17+++ b/configure.ac 18@@ -15,6 +15,8 @@ if test "$YACC" != "bison -y"; then 19 AC_MSG_ERROR([bison not found]) 20 fi 21 22+AC_CHECK_TOOL([AR], [ar], [:]) 23+ 24 AC_ARG_WITH( 25 [python], 26 [AS_HELP_STRING([--without-python],[compile without python support])],