We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.dylib
1 parent f0dc0aa commit 8c686c2Copy full SHA for 8c686c2
tools/platforms/MacPlatform.hx
@@ -180,6 +180,15 @@ class MacPlatform extends PlatformTarget
180
181
System.mkdir(targetDirectory);
182
183
+ for (dependency in project.dependencies)
184
+ {
185
+ if (StringTools.endsWith(dependency.path, ".dylib"))
186
187
+ var fileName = Path.withoutDirectory(dependency.path);
188
+ copyIfNewer(dependency.path, executableDirectory + "/" + fileName);
189
+ }
190
191
+
192
if (!project.targetFlags.exists("static") || targetType != "cpp")
193
{
194
var targetSuffix = (targetType == "hl") ? ".hdll" : null;
0 commit comments