|
@@ -15,6 +15,12 @@ FSTRCMP_CONF_ENV = LIBTOOL="$(HOST_DIR)/bin/libtool"
|
|
|
|
|
|
FSTRCMP_MAKE_OPTS = all-bin libdir/pkgconfig/fstrcmp.pc
|
|
|
|
|
|
+# fstrcmp does not carry and use the usual ltmain.sh wrappers, so it does not
|
|
|
+# inherit from our libtool patches to make -static behave like -all-static.
|
|
|
+ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
+FSTRCMP_MAKE_OPTS += LDFLAGS="$(TARGET_LDFLAGS) -all-static"
|
|
|
+endif
|
|
|
+
|
|
|
# We need to install the package files ourselves due to upstream trying
|
|
|
# to install a .lai file which is missing because of rpath removal
|
|
|
define FSTRCMP_INSTALL_STAGING_CMDS
|