From 0232656e7debfc579afab1b080d7a62e5d295dd6 Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Fri, 6 Oct 2017 12:36:47 +0100 Subject: [PATCH] Fix build tags for PHP5 target The PHP5 target was broken, since PHP7 builds were not excluded for PHP5-scoped tags. --- php7-debian.go | 3 +-- php7.go | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/php7-debian.go b/php7-debian.go index b6dec2b..1e5e508 100644 --- a/php7-debian.go +++ b/php7-debian.go @@ -7,8 +7,7 @@ // conventions for include and library paths, so we need a specific build tag // for building against those packages. // -// +build php7 -// +build debian +// +build debian,!php5 package php diff --git a/php7.go b/php7.go index 068c690..fa60d15 100644 --- a/php7.go +++ b/php7.go @@ -1,6 +1,8 @@ // Copyright 2017 Alexander Palaistras. All rights reserved. // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. +// +// +build !php5 package php