Skip to content

Configure with no-stdio on Windows generates makefile that doesn't work with jom #16014

@axnsan12

Description

@axnsan12

While building openssl from source, on the 1.1.1k tag (commit e2e09d9), using the following command:

perl Configure VC-WIN64A no-tests no-stdio

an invalid makefile is generated, specifically (around line 197):

...
clean: libclean
    
    -del /Q /F $(ENGINES)
    -del /Q /F $(SCRIPTS)
    ...

Notice the empty line. Compare with output when configuring without no-stdio:

...
clean: libclean
    -del /Q /F apps\openssl.exe
    -del /Q /F $(ENGINES)
    -del /Q /F $(SCRIPTS)
    ...

This causes a syntax error at line 197 when running the clean command.

I'm also attaching the configdata dump, in case it helps.

EDIT: right after opening this issue I realised the problem is caused by me using jom to run the build step. Using nmake works just fine as it seems to ignore the empty line. So I guess this decreases the severity of the issue somewhat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    branch: 1.1.1Applies to OpenSSL_1_1_1-stable branch (EOL)triaged: bugThe issue/pr is/fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions