-DPOSITION_INDEPENDENT_CODE=ON

This commit is contained in:
DubbleClick
2025-05-31 14:41:35 +07:00
parent 2dbcbc6963
commit ad3860981a
21 changed files with 21 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ trait libavif
'LDFLAGS' => $this->getLibExtraLdFlags(),
'LIBS' => $this->getLibExtraLibs(),
])
->execWithEnv("cmake {$this->builder->makeCmakeArgs()} -DBUILD_SHARED_LIBS=OFF -DAVIF_LIBYUV=OFF ..")
->execWithEnv("cmake {$this->builder->makeCmakeArgs()} -DBUILD_SHARED_LIBS=OFF -DPOSITION_INDEPENDENT_CODE=ON -DAVIF_LIBYUV=OFF ..")
->execWithEnv("cmake --build . -j {$this->builder->concurrency}")
->execWithEnv('make install');
// patch pkgconfig