mirror of https://github.com/deuill/go-php.git
Add necessary include directives for PHP 5 path
Certain distributions, such as Debian, ship include files for version 5 of PHP in the `/usr/include/php5` directory. This commit adds directives necessary for building go-php against packages provided by such distros.
This commit is contained in:
parent
99962f2bdf
commit
0882169cff
|
@ -2,6 +2,7 @@
|
|||
|
||||
package engine
|
||||
|
||||
// #cgo CFLAGS: -Iinclude/php5
|
||||
// #cgo CFLAGS: -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
|
||||
// #cgo CFLAGS: -I/usr/include/Zend -Iinclude/php5
|
||||
// #cgo LDFLAGS: -lphp5
|
||||
import "C"
|
||||
|
|
Loading…
Reference in New Issue