Skip to content

Windows build, fixed duplicate YAJL dir in script #1612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

allanbomsft
Copy link

Hi Felipe. I see you recently did this change c917df0 , but I think there might be a problem with the YAJL path. When building via build_modsecurity.bat directly, all is fine, because the path becomes ....\yajl\build\yajl-2.1.0 . But when building via build_release.bat , build_yajl.bat gets invoked, which sets the YAJL_DIR env variable, and so the path becomes ....\yajl\build\yajl-2.1.0\yajl-2.1.0 and the build fails.

Changing build_modsecurity.bat to let YAJL align with the other dependencies, where only the %DEPENDENCIES_DIR% env variable is used, and the rest is hardcoded.

@victorhora victorhora self-requested a review October 1, 2018 18:21
@victorhora victorhora added enhancement RIP - Type - Config Improvement 2.x Related to ModSecurity version 2.x labels Oct 1, 2018
@victorhora victorhora self-assigned this Oct 1, 2018
@victorhora victorhora added this to the v2.9.3 milestone Oct 1, 2018
victorhora added a commit that referenced this pull request Nov 4, 2018
@victorhora
Copy link
Contributor

Confirm it fixes the issue with the automated build script.

We might need to adjust the Windows buildbot builds scripts to take this into consideration.

@victorhora
Copy link
Contributor

Merged at e97799c

Thanks! :)

@victorhora victorhora closed this Nov 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants