浏览代码

fix LFTP building

Ralf S. Engelschall 24 年之前
父节点
当前提交
7f901c591c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lftp/lftp.spec

+ 2 - 1
lftp/lftp.spec

@@ -32,7 +32,7 @@ Distribution: OpenPKG [EXP]
 Group:        FTP
 License:      GPL
 Version:      2.4.4
-Release:      2
+Release:      3
 
 #   list of sources
 Source0:      http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2
@@ -52,6 +52,7 @@ AutoReqProv:  no
     %setup -q
 
 %build
+    PATH="%{l_prefix}/bin:$PATH"; export PATH
     CC="%{l_cc}" \
     CXX="%{l_cxx}" \
     CFLAGS="%{l_cflags -O}" \