OSX linker does not support -Wl,-whole-archive
modified auto.def
@@ -193,8 +193,12 @@ foreach header [list endian.h sys/endian.h] {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified libpkg/Makefile.autosetup
@@ -59,7 +59,7 @@ LOCAL_CFLAGS= -I$(top_srcdir)/compat \
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -69,7 +69,7 @@ LOCAL_LDFLAGS= -Wl,--whole-archive \
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -101,8 +101,7 @@ LOCAL_LDFLAS+= -lresolv
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/Makefile.autosetup
@@ -69,7 +69,7 @@ OTHER_LIBS+= -lresolv
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|