mklibs: Fix mklibs usage when *.so files reside in subdirs
authorFelix Fietkau <nbd@openwrt.org>
Mon, 26 Aug 2013 17:31:27 +0000 (17:31 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 26 Aug 2013 17:31:27 +0000 (17:31 +0000)
commit5a6f44332310a6da18eec350f66011659ea1f58c
tree3fcd6e8a1ad204c360beb8c507a61824ec6af9ac
parent936bb7554ea4fe6c9c18a11daa7868faf6db01c7
mklibs: Fix mklibs usage when *.so files reside in subdirs

Currently package/Makefile only passes /lib /usr/lib and /usr/lib/ebtables
to mklibs. However, other libs can also reside in different subdirectories
(in my case /usr/lib/ipsec). Hence, create the list of library directories
dynamically.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37841 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/Makefile