mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
8 lines
254 B
Bash
Executable File
8 lines
254 B
Bash
Executable File
#!/bin/sh
|
|
# Runs the go command with the proper Go and cgo flags.
|
|
|
|
GOFLAGS="$GOFLAGS -tags=nobadger,nomysql,nopgx" \
|
|
CGO_CFLAGS="$CGO_CFLAGS $(php-config --includes)" \
|
|
CGO_LDFLAGS="$CGO_LDFLAGS $(php-config --ldflags) $(php-config --libs)" \
|
|
go "$@"
|