mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
Fix gettext on locale bug (#634)
* Fix gettext locale sanity check failure bug * Fix phpstan * Add tests * Add additional attr build configure args * Remove windows test * Fix attr configure arg * Fix attr configure bug on gnu docker and alpine docker * Add gettext-devel for doctor * weird change for gnu docker container (#643) Co-authored-by: Marc Henderkes <m.henderkes@pc-college.de> --------- Co-authored-by: Marc <m@pyc.ac> Co-authored-by: Marc Henderkes <m.henderkes@pc-college.de>
This commit is contained in:
@@ -18,8 +18,10 @@ trait attr
|
||||
'CFLAGS' => trim('-I' . BUILD_INCLUDE_PATH . ' ' . $this->getLibExtraCFlags()),
|
||||
'LDFLAGS' => trim('-L' . BUILD_LIB_PATH . ' ' . $this->getLibExtraLdFlags()),
|
||||
'LIBS' => $this->getLibExtraLibs(),
|
||||
])->execWithEnv('./autogen.sh')
|
||||
->execWithEnv('./configure --prefix= --enable-static --disable-shared --disable-nls')
|
||||
])
|
||||
->execWithEnv('libtoolize --force --copy')
|
||||
->execWithEnv('./autogen.sh')
|
||||
->execWithEnv('./configure --prefix= --enable-static --disable-shared --with-pic --disable-nls')
|
||||
->execWithEnv("make -j {$this->builder->concurrency}")
|
||||
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ trait libacl
|
||||
'LDFLAGS' => trim('-L' . BUILD_LIB_PATH . ' ' . $this->getLibExtraLdFlags()),
|
||||
'LIBS' => $this->getLibExtraLibs(),
|
||||
])
|
||||
->execWithEnv('libtoolize --force --copy')
|
||||
->execWithEnv('./autogen.sh')
|
||||
->execWithEnv('./configure --prefix= --enable-static --disable-shared --disable-tests --disable-nls')
|
||||
->execWithEnv("make -j {$this->builder->concurrency}")
|
||||
|
||||
Reference in New Issue
Block a user