Add @executable_path to rpath

This allows executing the stub generator with `MachOKit.framework` sitting right next to it, no matter where it is.
This commit is contained in:
Ariel Abreu 2023-08-22 00:34:17 -04:00
parent 53263cdf29
commit 65f721beb3
No known key found for this signature in database
GPG Key ID: 8031B538781E183F

View File

@ -683,6 +683,10 @@
include,
../include,
);
OTHER_LDFLAGS = (
"-rpath",
"@executable_path/",
);
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
@ -696,6 +700,10 @@
include,
../include,
);
OTHER_LDFLAGS = (
"-rpath",
"@executable_path/",
);
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;