kernel: rtl8367b: drop redundant compatible
[openwrt/openwrt.git] / scripts / bundle-libraries.sh
index bfe681ad604e0a4f6f59174fa0ffecc309cfed1a..620ee01bdedd6bc93ea3f763dea7ea860037a921 100755 (executable)
@@ -87,7 +87,11 @@ _runas_so() {
                        return 0;
                }
 
+               #ifdef __APPLE__
+               __attribute__((section("__DATA,__mod_init_func")))
+               #else
                __attribute__((section(".init_array")))
+               #endif
                static void *mangle_arg0_constructor = &mangle_arg0;
        EOT