Commit Graph

244 Commits

Author SHA1 Message Date
Josh Tynjala
e257b7ebe4 Merge branch 'develop' into 8.2.0-Dev 2024-07-01 08:53:48 -07:00
Josh Tynjala
47936494ac MacPlatform: use install_name_tool to add /usr/local/lib and /opt/hombrew/lib to rpath of lime.ndll
Previously, we added these rpaths to lime.ndll when it was built in commits c70ec9f and 333d093, but it's actually necessary only for Neko, so now I made it happen specfically after calling `nekotools boot` to create the Neko executable.

I've tested cpp and hl, and I've confirmed that the executables still launch successfully when these rpaths are omitted. It's better for their security to use fewer rpaths.

As noted commit c70ec9f, adding these rpaths is necessary due to a change in Xcode 15 where /usr/local/lib used to be available on the rpath automatically, but now it isn't, which affects the executable's ability to find the libneko dylib.
2024-06-19 14:39:17 -07:00
Joseph Cloutier
d3d476a1f5 Merge branch 'develop' into 8.2.0-Dev 2024-05-27 16:04:31 -04:00
Tobi Laskowski
333d093df0 Build.xml: Add /opt/homebrew/lib as rpath on arm64 macos
This is where arm64 homebrew installs `libneko.dylib`. However, it may still be in `/usr/local/lib` if installed via the haxe .pkg installer, so we add both.
2024-05-15 09:18:39 -07:00
Josh Tynjala
c70ec9fbe0 Build.xml: on macOS, add /usr/local/lib to rpath when building lime.ndll
This seems to be required with Xcode 15, but was not required previously
2024-05-09 15:07:12 -07:00
Josh Tynjala
c81591c887 Windows: .lib files are needed to compile HL/C for Windows with Visual Studio 2023-11-03 15:08:01 -07:00
Josh Tynjala
21e8e619c3 HashLink: when building hdlls, use -install_name on macOS
This more closely matches official HashLink binaries, and ensures that the hdlls can be found next to a HL/C executable
2023-10-18 15:33:32 -07:00
Joseph Cloutier
9a9b89ae06 Merge branch 'develop' into 8.2.0-Dev 2023-08-17 21:07:12 -04:00
Josh Tynjala
5a87d77897 Merge branch 'develop' into 8.1.0-Dev 2023-06-05 10:29:26 -07:00
Josh Tynjala
9103be3c98 update curl and mbedtls submodules
Updated to match 8.2.0-Dev branch

Fixes SSL connect error on macOS
2023-05-30 09:03:55 -07:00
Joshua Granick
35d1436dcd Revert WebAssembly improvements (moved to 8.1.0-Dev branch) 2023-05-30 09:03:18 -07:00
Joshua Granick
a05ee5a009 Revert back to built-in Emscripten OpenAL implementation 2023-05-30 08:54:01 -07:00
Joshua Granick
9ca0531105 Include cURL and MojoAL in WebAssembly/Emscripten build 2023-05-30 08:53:43 -07:00
Joshua Granick
5ba432fd8b Revert back to built-in Emscripten OpenAL implementation 2023-05-23 20:28:53 -07:00
Joshua Granick
22fb444e71 Include cURL and MojoAL in WebAssembly/Emscripten build 2023-05-23 19:53:10 -07:00
Josh Tynjala
55ca39da44 slightly different compiler flags with Raspberry Pi ARM64 2023-03-01 15:55:55 -08:00
Joseph Cloutier
50ff65956f Add legacy Pi driver support.
Co-authored-by: Patrick Gutlich <patrick@gepatto.nl>
2022-06-03 18:39:45 -04:00
Joseph Cloutier
689fed4545 Merge branch 'develop' into submodules 2022-06-03 18:36:03 -04:00
Joseph Cloutier
34817221d8 Adjust RPI build settings.
Co-authored-by: Patrick Gutlich <patrick@gepatto.nl>
2022-06-01 00:27:46 -04:00
Joseph Cloutier
16166e1a0d Fix RPI compile errors (incomplete).
At least, these changes should be a step in the right direction.
2022-05-28 14:55:50 -04:00
Joseph Cloutier
87e779b971 Rename "overrides" to "custom."
This helps shift the emphasis from "replacing existing files" to "adding
missing files," without ruling either option out.
2022-05-22 23:27:47 -04:00
Joseph Cloutier
391d947338 Add CoreHaptics.framework via project.pbxproj.
Returning to the way  88d3fa7184 did this
because the alternative wasn't working.
2022-05-22 14:30:44 -04:00
Joseph Cloutier
b6d0af585d Always include CoreHaptics.framework on iOS. 2022-05-22 13:43:18 -04:00
Joseph Cloutier
2ce060788b Add SystemConfiguration.framework on Mac.
Required for `SCDynamicStoreCopyProxies()`, which is only called when
`CURL_OSX_CALL_COPYPROXIES` is defined, which is only defined on OSX.
2022-05-22 11:27:48 -04:00
Joseph Cloutier
51dfc56efb Use Build.xml to include CoreHaptics.framework.
Much simpler and more maintainable than in
88d3fa7184

(Sorting the flags a bit while I'm at it.)
2022-05-22 11:25:54 -04:00
Joseph Cloutier
104533fdde Sort and format build files. 2022-05-20 17:11:20 -04:00
Joseph Cloutier
19eab56416 Define HAVE_STDIO_H.
SDL can operate without stdio.h, but Lime requires it in most cases.
2022-05-19 18:21:48 -04:00
Apprentice-Alchemist
1c35f44634 Fix building lime.hdll. 2022-05-19 21:08:56 +02:00
Joseph Cloutier
b06f7b8789 Switch to libjpeg-turbo (version 2.0.7 ESR). 2022-05-13 19:13:30 -04:00
Joseph Cloutier
0938fdf00b Fix assembly code when using clang.
https://gitlab.freedesktop.org/pixman/pixman/-/issues/45
2022-05-13 14:01:24 -04:00
Joseph Cloutier
d8d3f74211 Add missing include paths. 2022-05-09 16:37:13 -04:00
Joseph Cloutier
1cf4ba09df Make overrides mirror submodule file structure. 2022-05-08 22:25:15 -04:00
Joseph Cloutier
749fb5ad4a Use the official Cairo repo as a submodule.
Continuing to use version 1.15.2 for now. The main difference is the
lack of this change:
70d5bd67f3
2022-05-08 16:32:38 -04:00
Joseph Cloutier
bc584ea611 Remove hxcpp build files from submodules. 2022-05-06 19:41:31 -04:00
Apprentice-Alchemist
f544134144 Fix libpaths. 2022-04-28 19:42:45 +02:00
Apprentice-Alchemist
a288feca96 Add hashlink as a submodule. 2022-04-28 19:42:41 +02:00
Apprentice-Alchemist
b15dcb94c1 Upgrade to android API level 21. 2022-02-03 17:23:43 +01:00
Joshua Granick
ba6fafeefa Remove iOS Bluetooth dependency 2020-09-29 11:04:23 -07:00
Josh Tynjala
8701624f0a Better fix for rebuild iOS and build iOS project 2020-06-15 14:23:26 -07:00
Josh Tynjala
60bdf42046 Revert "fix rebuild iOS due to bad Zlib.cpp path"
This reverts commit 0d790f35a8.
2020-06-15 14:21:22 -07:00
Josh Tynjala
0d790f35a8 fix rebuild iOS due to bad Zlib.cpp path 2020-06-02 16:11:58 -07:00
Joshua Granick
43666e816d iOS build fix 2020-03-18 18:54:13 -07:00
Joshua Granick
37353d6ada Switch macOS to OpenAL-Soft (resolves #1369) 2020-01-27 12:48:28 -08:00
Caio
40f16ab2f9 Added correct platform for android x86_64 builds 2019-10-04 08:13:25 -07:00
Joshua Granick
ef154d2916 Revert "Move native DLL directory to 'lib'"
This reverts commit 20f626dab8.
2019-06-24 10:37:22 -07:00
Joshua Granick
20f626dab8 Move native DLL directory to 'lib' 2019-04-11 12:09:26 -07:00
Joshua Granick
6dce7ad79a Progress on newer NDK support (forces minimum API from 14 to 16) 2019-04-05 18:07:13 -07:00
Joshua Granick
8d72e71357 HL update 2019-03-13 11:13:19 -07:00
Joshua Granick
299ed974c7 Fixes for HL 2019-03-12 15:57:19 -07:00
Carlos Madrazo
3a075cc247 Enable cairo for winrt
DisplayingABitmap works when compiling with

lime rebuild winrt -static -Dcairo -debug -m64

openfl test project.xml winrt -static -Dcairo -debug

And adding a Sys.sleep(1); in openfl/assets/templates/haxe/ApplicationMain.hx, before var result = app.exec ();
2019-03-11 08:56:45 -07:00