mpg123: fix module loading with libtool / !HAVE_DEVFILES
mpg123 enables loadable modules support if libtool is detected, but by default tries to load <module>.la, which we strip from the rootfs unless HAVE_DEVFILES is enabled. Fix it by directly loading .so files instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
6161049aed
commit
6206828e3f
@ -57,4 +57,11 @@ endif
|
||||
|
||||
MPG123_CONF_OPT += --with-audio=$(shell echo $(MPG123_AUDIO) | tr ' ' ,)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTOOL),y)
|
||||
MPG123_DEPENDENCIES += libtool
|
||||
# .la files gets stripped unless HAVE_DEVFILES is enabled, so directly
|
||||
# load .so files rather than .la
|
||||
MPG123_CONF_OPT += --with-modules --with-module-suffix=.so
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS))
|
||||
|
Loading…
Reference in New Issue
Block a user