瀏覽代碼

fix run-time by linking in the framework library

Ralf S. Engelschall 21 年之前
父節點
當前提交
25bd30831d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libdbi/libdbi.spec

+ 1 - 0
libdbi/libdbi.spec

@@ -111,6 +111,7 @@ AutoReqProv:  no
 %if "%{with_pgsql}" == "yes"
       LIBS="$LIBS -lssl -lcrypto -lcrypt"
 %endif
+      LIBS="$LIBS `pwd`/../libdbi-%{V_dbi}/src/.libs/libdbi.a"
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       CPPFLAGS="%{l_cppflags}" \