Skip to content

Commit 12c93cb

Browse files
committed
depends: use MacOS friendly sed syntax in qt.mk
1 parent 7ebd8c6 commit 12c93cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

depends/packages/qt.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ define $(package)_preprocess_cmds
129129
cp -f qtbase/mkspecs/macx-clang/qplatformdefs.h qtbase/mkspecs/macx-clang-linux/ &&\
130130
cp -f $($(package)_patch_dir)/mac-qmake.conf qtbase/mkspecs/macx-clang-linux/qmake.conf && \
131131
cp -r qtbase/mkspecs/linux-arm-gnueabi-g++ qtbase/mkspecs/bitcoin-linux-g++ && \
132-
sed -i s/arm-linux-gnueabi-/$(host)-/g qtbase/mkspecs/bitcoin-linux-g++/qmake.conf && \
132+
sed -i.old "s/arm-linux-gnueabi-/$(host)-/g" qtbase/mkspecs/bitcoin-linux-g++/qmake.conf && \
133133
patch -p1 -i $($(package)_patch_dir)/fix_qt_pkgconfig.patch &&\
134134
patch -p1 -i $($(package)_patch_dir)/fix_configure_mac.patch &&\
135135
patch -p1 -i $($(package)_patch_dir)/fix_no_printer.patch &&\

0 commit comments

Comments
 (0)