kopia lustrzana https://github.com/jamescoxon/dl-fldigi
NetBSD compile error
* xmlrpc lib build - The original sed script eats space chars around '-lpthread', causing g++ (4.7): unrecognized option '-pthread-lrt'.pull/1/head
rodzic
b02da36638
commit
0322dc970a
|
@ -12,7 +12,11 @@ AC_DEFUN([AC_FLDIGI_XMLRPC_CONFIG], [
|
|||
|
||||
test "x$XMLRPC_CFLAGS" = "x" && XMLRPC_CFLAGS=`$XMLRPC_C_CONFIG c++2 abyss-server --cflags`
|
||||
if test "x$XMLRPC_LIBS" = "x"; then
|
||||
XMLRPC_LIBS=`$XMLRPC_C_CONFIG c++2 abyss-server --ldadd | sed s/.-lpthread.//`
|
||||
XMLRPC_LIBS=`$XMLRPC_C_CONFIG c++2 abyss-server --ldadd | \
|
||||
sed -e 's/^-lpthread$//' \
|
||||
-e 's/^-lpthread / /' \
|
||||
-e 's/ -lpthread$//' \
|
||||
-e 's/ -lpthread / /' `
|
||||
test "$ac_cv_static" = "yes" && XMLRPC_LIBS="-Wl,-Bstatic $XMLRPC_LIBS -Wl,-Bdynamic"
|
||||
fi
|
||||
fi
|
||||
|
|
Ładowanie…
Reference in New Issue