mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 20:10:35 -09:00
qt5: add macro to fixup Qt5 .la and .prl files
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
ca249584cb
commit
1737b5648c
@@ -1 +1,11 @@
|
||||
include package/qt5/*/*.mk
|
||||
|
||||
define QT5_LA_PRL_FILES_FIXUP
|
||||
for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.la"); do \
|
||||
$(SED) "s:\(['= ]\)/usr:\\1$(STAGING_DIR)/usr:g" $$i; \
|
||||
$(SED) "/^dependency_libs=/s%-L/usr/lib %%g" $$i ; \
|
||||
done
|
||||
for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.prl"); do \
|
||||
$(SED) "s%-L/usr/lib%%" $$i; \
|
||||
done
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user