mirror of
https://github.com/darlinghq/darling-objc4.git
synced 2024-11-26 21:50:26 +00:00
14 lines
490 B
Objective-C
14 lines
490 B
Objective-C
/*
|
|
TEST_BUILD
|
|
$C{COMPILE} $DIR/weak2.m -UWEAK_FRAMEWORK -DWEAK_IMPORT=__attribute__\\(\\(weak_import\\)\\) -UEMPTY -dynamiclib -o libweakimport.dylib
|
|
|
|
$C{COMPILE} $DIR/weakimport-missing.m -L. -weak-lweakimport -o weakimport-missing.exe
|
|
|
|
$C{COMPILE} $DIR/weak2.m -UWEAK_FRAMEWORK -DWEAK_IMPORT=__attribute__\\(\\(weak_import\\)\\) -DEMPTY= -dynamiclib -o libweakimport.dylib
|
|
END
|
|
*/
|
|
|
|
// #define WEAK_FRAMEWORK
|
|
#define WEAK_IMPORT __attribute__((weak_import))
|
|
#include "weak.m"
|