|
@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: Database
|
|
Group: Database
|
|
|
License: GPL
|
|
License: GPL
|
|
|
Version: 2.1.23
|
|
Version: 2.1.23
|
|
|
-Release: 20031122
|
|
|
|
|
|
|
+Release: 20031123
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
%option with_fsl yes
|
|
%option with_fsl yes
|
|
@@ -92,11 +92,15 @@ AutoReqProv: no
|
|
|
%else
|
|
%else
|
|
|
cf="%{l_cppflags}"
|
|
cf="%{l_cppflags}"
|
|
|
%endif
|
|
%endif
|
|
|
|
|
+ LIBS=""
|
|
|
|
|
+ if [ -f /usr/lib/libdl.so -o -f /usr/lib/libdl.a ]; then
|
|
|
|
|
+ LIBS="$LIBS -ldl"
|
|
|
|
|
+ fi
|
|
|
CC="%{l_cc}" \
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
CPPFLAGS="$cf" \
|
|
CPPFLAGS="$cf" \
|
|
|
LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \
|
|
LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \
|
|
|
- LIBS="%{l_fsl_libs}" \
|
|
|
|
|
|
|
+ LIBS="$LIBS %{l_fsl_libs}" \
|
|
|
./configure \
|
|
./configure \
|
|
|
--cache-file=./config.cache \
|
|
--cache-file=./config.cache \
|
|
|
--prefix=%{l_prefix} \
|
|
--prefix=%{l_prefix} \
|