mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
need path to znc dir for CXXflags
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@11 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -2757,6 +2757,7 @@ if test $ac_cv_lib_dl_dlopen = yes; then
|
||||
fi
|
||||
|
||||
MODFLAGS=`echo $CXXFLAGS | sed 's/-rdynamic//g'`
|
||||
MODFLAGS="$MODFLAGS -I`pwd`"
|
||||
MODTARGET="modules"
|
||||
appendLib -ldl
|
||||
fi
|
||||
|
||||
@@ -53,6 +53,7 @@ fi
|
||||
if test "$MODULES" = "yes"; then
|
||||
AC_CHECK_LIB( dl, dlopen, appendCXX -D_MODULES -rdynamic,, )
|
||||
MODFLAGS=`echo $CXXFLAGS | sed 's/-rdynamic//g'`
|
||||
MODFLAGS="$MODFLAGS -I`pwd`"
|
||||
MODTARGET="modules"
|
||||
appendLib -ldl
|
||||
fi
|
||||
|
||||
+2
-4
@@ -22,14 +22,12 @@ if [ "$1" = "--libs" ]; then
|
||||
fi
|
||||
|
||||
if [ "$1" = "--all" ]; then
|
||||
for i in *; do
|
||||
FILE="$FILE $i"
|
||||
done
|
||||
FILES=`ls`
|
||||
else
|
||||
FILES=$@
|
||||
fi
|
||||
|
||||
for arg in "$FILES"
|
||||
for arg in $FILES
|
||||
do
|
||||
if test -d $arg && test "$arg" != "CVS"; then
|
||||
(cd $arg && make || exit 1)
|
||||
|
||||
Reference in New Issue
Block a user