mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-25 06:23:35 +08:00
package/Makefile.in: link statically when BR2_PREFER_STATIC_LIB
Instead of explicitly adding it for each package. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
311a58303f
commit
eb421a8433
@ -305,6 +305,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
SHARED_STATIC_LIBS_OPTS=--enable-static --disable-shared
|
||||
TARGET_LDFLAGS += -static
|
||||
else
|
||||
SHARED_STATIC_LIBS_OPTS=--enable-static --enable-shared
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user