php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #77230 Support passing CFLAGS, LDFLAGS,etc from the environment on Windows
Submitted: 2018-12-03 03:47 UTC Modified: 2019-07-15 07:05 UTC
From: xixi dot bu at 163 dot com Assigned: cmb (profile)
Status: Closed Package: *Configuration Issues
PHP Version: 7.3Git-2018-12-03 (Git) OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xixi dot bu at 163 dot com
New email:
PHP Version: OS:

 

 [2018-12-03 03:47 UTC] xixi dot bu at 163 dot com
Description:
------------
PHP version: latest version from php/php-src on GitHub
Environment: On Windows, Compile and debug using php-sdk-binary-tools proving by https://github.com/Microsoft/php-sdk-binary-tools

Feature request: On Linux it is possible to pass CFLAGS, LDFLAGS and others from the environment before compile, for example, the description on https://dev.mysql.com/doc/apis-php/en/apis-php-mysqlnd.persist.html gives the steps to define MYSQLI_NO_CHANGE_USER_ON_PCONNECT. From the kind information from https://github.com/Microsoft/php-sdk-binary-tools/issues/46, this is not possible on Windows. So may I have a request for you to implement the same feature for Windows? This helps for me. 

Expected result:
----------------
Support passing CFLAGS, LDFLAGS and others from the environment on Windows

Actual result:
--------------
Passing CFLAGS, LDFLAGS and others from the environment is not supported on Windows

Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-03 11:16 UTC] cmb@php.net
-Assigned To: +Assigned To: ab
 [2019-07-02 15:25 UTC] cmb@php.net
-Assigned To: ab +Assigned To: cmb
 [2019-07-02 18:28 UTC] cmb@php.net
The following pull request has been associated:

Patch Name: Implement FR #77230: Support custom CFLAGS and LDFLAGS from environment
On GitHub:  https://github.com/php/php-src/pull/4353
Patch:      https://github.com/php/php-src/pull/4353.patch
 [2019-07-15 07:05 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC