projects
/
openwrt
/
staging
/
lynxis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target.mk: Remove obsolete octeon CPU_CFLAGS
[openwrt/staging/lynxis.git]
/
scripts
/
bundle-libraries.sh
diff --git
a/scripts/bundle-libraries.sh
b/scripts/bundle-libraries.sh
index bfe681ad604e0a4f6f59174fa0ffecc309cfed1a..620ee01bdedd6bc93ea3f763dea7ea860037a921 100755
(executable)
--- a/
scripts/bundle-libraries.sh
+++ b/
scripts/bundle-libraries.sh
@@
-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