File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ def check_heads heads = [], fatal = false
119119 lib = libs_path + "libzmq.#{ LIBEXT } "
120120 Dir . chdir zmq_path do
121121 sys "./autogen.sh" , "ZeroMQ autogen failed!" unless File . exist? ( zmq_path + 'configure' )
122- sys "./configure CFLAGS='#{ CZMQ_CFLAGS . join ( " " ) } ' CXXFLAGS='#{ CZMQ_CFLAGS . join ( " " ) } ' --prefix=#{ dst_path } --without-documentation --disable-shared --enable-static --with-libsodium=#{ dst_path } " ,
122+ sys "./configure CFLAGS='#{ CZMQ_CFLAGS . join ( " " ) } ' CXXFLAGS='#{ CZMQ_CFLAGS . join ( " " ) } ' PKG_CONFIG_PATH=' #{ libs_path } /pkgconfig' --prefix=#{ dst_path } --without-documentation --disable-shared --enable-static --with-libsodium=#{ dst_path } " ,
123123 "ZeroMQ configure failed" unless File . exist? ( zmq_path + 'Makefile' )
124124 sys "make && make install" , "ZeroMQ compile error!"
125125 end
@@ -132,7 +132,7 @@ def check_heads heads = [], fatal = false
132132 lib = libs_path + "libczmq.#{ LIBEXT } "
133133 Dir . chdir czmq_path do
134134 sys "./autogen.sh" , "CZMQ autogen failed!" unless File . exist? ( czmq_path + 'configure' )
135- sys "./configure LDFLAGS='-L#{ libs_path } -lm' CFLAGS='#{ CZMQ_CFLAGS . join ( " " ) } ' --prefix=#{ dst_path } --disable-shared --enable-static --with-libsodium=#{ dst_path } " ,
135+ sys "./configure LDFLAGS='-L#{ libs_path } -lm' CFLAGS='#{ CZMQ_CFLAGS . join ( " " ) } ' PKG_CONFIG_PATH=' #{ libs_path } /pkgconfig' --prefix=#{ dst_path } --disable-shared --enable-static --with-libsodium=#{ dst_path } " ,
136136 "CZMQ configure error!" unless File . exist? ( czmq_path + 'Makefile' )
137137 sys "make all && make install" , "CZMQ compile error!"
138138 end
You can’t perform that action at this time.
0 commit comments