mirror of
https://github.com/darlinghq/darling-stub-gen.git
synced 2024-11-26 22:00:23 +00:00
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:
parent
53263cdf29
commit
65f721beb3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user