mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00: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)
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||||
SHARED_STATIC_LIBS_OPTS=--enable-static --disable-shared
|
SHARED_STATIC_LIBS_OPTS=--enable-static --disable-shared
|
||||||
|
TARGET_LDFLAGS += -static
|
||||||
else
|
else
|
||||||
SHARED_STATIC_LIBS_OPTS=--enable-static --enable-shared
|
SHARED_STATIC_LIBS_OPTS=--enable-static --enable-shared
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user