Skip to content
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

Copy lua51.dll (luajit) to bindir #6148

Merged
merged 1 commit into from
Jul 18, 2017
Merged

Conversation

adrido
Copy link
Contributor

@adrido adrido commented Jul 18, 2017

If you are building with luajit, you had to manually copy the lua51.dll to the Minetest bin dir.
This PR lets CMake do it like the other dll's.

@@ -292,6 +292,8 @@ if(WIN32)
set(VORBIS_DLL "" CACHE FILEPATH "Path to libvorbis.dll for installation (optional)")
set(VORBISFILE_DLL "" CACHE FILEPATH "Path to libvorbisfile.dll for installation (optional)")
endif()

set(LUA_DLL "" CACHE FILEPATH "Path to lua51.dll for installation (optional)")
Copy link
Member

@sfan5 sfan5 Jul 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be inside if(USE_LUAJIT)

also shouldn't the dll be named libluajit.dll or similar?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Well, if you use a custom build script, the name may differ, but using the official build instructions, its called lua51.dll

@sfan5 sfan5 added @ Build CMake, build scripts, official builds, compiler and linker errors Windows Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines labels Jul 18, 2017
@nerzhul nerzhul merged commit 7e3cdf7 into minetest:master Jul 18, 2017
Eurybot pushed a commit to MT-Eurythmia/minetest that referenced this pull request Jul 25, 2017
@adrido adrido deleted the copy-lua51.dll branch August 19, 2017 02:58
osjc pushed a commit to osjc/minetest that referenced this pull request Jan 11, 2019
osjc pushed a commit to osjc/minetest that referenced this pull request Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@ Build CMake, build scripts, official builds, compiler and linker errors Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines >= Two approvals ✅ ✅ Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants