2017-01-28 17:06:12 +00:00
|
|
|
// Copyright 2017 Alexander Palaistras. All rights reserved.
|
2016-09-24 07:06:06 +00:00
|
|
|
// Use of this source code is governed by the MIT license that can be found in
|
|
|
|
// the LICENSE file.
|
|
|
|
//
|
|
|
|
// 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.
|
2016-09-22 03:19:00 +00:00
|
|
|
//
|
2017-10-06 11:36:47 +00:00
|
|
|
// +build debian,!php5
|
2016-09-22 03:19:00 +00:00
|
|
|
|
2017-01-28 20:57:39 +00:00
|
|
|
package php
|
2016-09-22 03:19:00 +00:00
|
|
|
|
2016-09-23 14:17:02 +00:00
|
|
|
// #cgo CFLAGS: -I/usr/include/php/20151012 -Iinclude/php7 -Isrc/php7
|
2017-01-28 16:58:59 +00:00
|
|
|
// #cgo CFLAGS: -I/usr/include/php/20151012/main -I/usr/include/php/20151012/Zend
|
2016-09-23 14:17:02 +00:00
|
|
|
// #cgo CFLAGS: -I/usr/include/php/20151012/TSRM
|
2016-09-22 03:19:00 +00:00
|
|
|
// #cgo LDFLAGS: -lphp7.0
|
|
|
|
import "C"
|