mirror of https://github.com/deuill/go-php.git
Merge pull request #27 from deuill/feature/26_fix-debian-build-issues
php7: Allow for additional `php7.debian` build tag
This commit is contained in:
commit
4d03d4c334
|
@ -1,4 +1,4 @@
|
|||
// +build !php7
|
||||
// +build !php7,!php7.debian
|
||||
|
||||
package engine
|
||||
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
// +build php7.debian
|
||||
//
|
||||
// Build tags specific to Debian (and Debian-derived, such as Ubuntu) distributions.
|
||||
// Debian builds its PHP7 packages with non-standard naming conventions for include
|
||||
// and library paths, so we need a specific build tag for building against those
|
||||
// packages.
|
||||
|
||||
package engine
|
||||
|
||||
// #cgo CFLAGS: -I/usr/include/php/20151012 -Iinclude/php7 -Isrc/php7
|
||||
// #cgo LDFLAGS: -lphp7.0
|
||||
import "C"
|
Loading…
Reference in New Issue