- adapter, fix libdirs