Better RESOURCES_LIBRARY_LINK var.
@@ -828,7 +828,7 @@ module LIBRARY: _LIBRARY {
}
# XXX: dirty hack for correct LDFLAGS passing
-RESOURCES_LIBRARY_LINK=$LINK_LIB ${hide:LINK_EXE}
+RESOURCES_LIBRARY_LINK=$LINK_LIB ${hide:LDFLAGS_GLOBAL} ${hide:LDFLAGS}
module RESOURCES_LIBRARY: _LIBRARY {
.CMD=RESOURCES_LIBRARY_LINK
