Skip to content

Issue when building with Windows  #64

@saspivey98

Description

@saspivey98

Building lua-zlib on windows 10

Building zlib using cmake on VS dev
image

using luarocks to install
image

I believe the issue lies withing the rockspec. Looking at the 1.2-2.rockspec
image

When replacing lines 37-41 of the rockspec with

platforms = { windows = { variables = { LUA_LIBRARIES = "$(LUA_LIBDIR)/$(LUALIB)" }}},

it fixes the build issue on windows.
image

I am unsure if this is an issue from my end (or even the correct fix), but wanted to mention I noticed this when building.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions