mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01: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 "$@"
|