add patch for attr on alpine

This commit is contained in:
Marc Henderkes
2025-03-10 09:46:20 +01:00
parent 511fd0e301
commit c6552f6800
3 changed files with 22 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ trait attr
shell()->cd($this->source_dir)
->setEnv(['CFLAGS' => $this->getLibExtraCFlags(), 'LDFLAGS' => $this->getLibExtraLdFlags(), 'LIBS' => $this->getLibExtraLibs()])
->execWithEnv('./autogen.sh')
->execWithEnv('./configure --prefix= --enable-static --disable-shared --disable-tests')
->execWithEnv('./configure --prefix= --enable-static --disable-shared')
->execWithEnv("make -j {$this->builder->concurrency}")
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);