[libsoup/wip/meson: 46/93] APACHE_HTTPD is supposed to hold path to httpd and not its version



commit 2f5c1f32cbc61b1807a2cb0c92024e582c47d771
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Oct 4 12:51:07 2017 +0200

    APACHE_HTTPD is supposed to hold path to httpd and not its version

 meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index b088710..4d9da30 100644
--- a/meson.build
+++ b/meson.build
@@ -64,7 +64,7 @@ if apache_httpd2.found()
     apache_httpd2_version = apache_httpd2_version.split('/')[1].split(' ')[0]
     if apache_httpd2_version.version_compare('>=2.4')
       have_apache = true
-      add_project_arguments('-DAPACHE_HTTPD=' + apache_httpd2_version, language : 'c')
+      add_project_arguments('-DAPACHE_HTTPD="' + apache_httpd2.path() + '"', language : 'c')
     else
       message('Found ' + apache_httpd2_version + ', but at least 2.4 is needed - ignoring')
     endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]