Commit eb421a84 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

package/Makefile.in: link statically when BR2_PREFER_STATIC_LIB



Instead of explicitly adding it for each package.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 311a5830
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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