1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-04 03:48:03 +00:00

Make meson build work on windows.

By default, use more traditional linking pattern with meson.
The janet.exe will now link to janet-x.x.dll on windows (and
similar for linux/posix) when built with meson. This is slightly
less efficient and means that janet.exe built this way is no longer
standalone (you would need to move the dll along with the exe), but
plays better with most build systems.
This commit is contained in:
Calvin Rose
2023-09-23 08:50:44 -07:00
parent e00a461c26
commit 2f4a6214a2
3 changed files with 10 additions and 15 deletions

View File

@@ -132,12 +132,6 @@
<Component Directory="CDir">
<File Source="dist\libjanet.lib"/>
</Component>
<Component Directory="CDir">
<File Source="dist\dlljanet.dll"/>
</Component>
<Component Directory="CDir">
<File Source="dist\dlljanet.lib"/>
</Component>
<Component Id="LibraryComponent" Directory="LibraryDir" Guid="3860e981-5f94-4002-b5d5-2d9ec0d2792d" KeyPath="yes">
<RemoveFolder Id="RemoveLibraryDir" On="uninstall" />