Don't know why, but ar is running in the wrong directory on alpine. --- old/lib/Makefile.in +++ new/lib/Makefile.in @@ -28,7 +28,7 @@ cd libltdl/ && $(MAKE) libsupp.a: $(LIB_OBJS) - $(AR) rc libsupp.a $(LIB_OBJS) + cd .libs && $(AR) rc ../libsupp.a $(LIB_OBJS) $(RANLIB) libsupp.a lib: libsupp.a $(LIB_DEPS)