Преглед изворни кода

fixed zlib related build bug

Christoph Schug пре 24 година
родитељ
комит
89bff996f0
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      file/file.spec

+ 3 - 2
file/file.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [REL]
 Group:        Filesystem
 License:      BSD
 Version:      3.39
-Release:      20020704
+Release:      20020722
 
 #   list of sources
 Source0:      ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@@ -55,7 +55,8 @@ AutoReqProv:  no
 
 %build
     CC="%{l_cc}" \
-    CFLAGS="%{l_cflags -O}" \
+    CFLAGS="%{l_cflags -O} -I%{prefix}/include" \
+    LDFLAGS="-L%{prefix}/lib" \
     ./configure \
         --prefix=%{l_prefix} \
         --datadir=%{l_prefix}/share/file \