X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=misc%2Fgen-pkgconfig.in;h=75e95b3bfbf3dfd0d9347c91b7a9354cf1e4c1b8;hp=12bf11ce55f07715f0cbc3fc49e869b2c09d3133;hb=95a30fbbfc81d5eb0a76e139c86e0a6505cad871;hpb=96097feb6ca4e2c4c944f3ed789c89d964611655 diff --git a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in index 12bf11ce..75e95b3b 100644 --- a/misc/gen-pkgconfig.in +++ b/misc/gen-pkgconfig.in @@ -1,5 +1,5 @@ #!@SHELL@ -# $Id: gen-pkgconfig.in,v 1.3 2009/01/03 22:26:47 tom Exp $ +# $Id: gen-pkgconfig.in,v 1.5 2009/01/24 21:06:36 tom Exp $ ############################################################################## # Copyright (c) 2009 Free Software Foundation, Inc. # # # @@ -41,7 +41,6 @@ LIB_NAME=@LIB_NAME@ TINFO_NAME=@TINFO_NAME@ DFT_DEP_SUFFIX=@DFT_DEP_SUFFIX@ CXX_LIB_SUFFIX=@CXX_LIB_SUFFIX@ -LD_RPATH_OPT=@LD_RPATH_OPT@ prefix="@prefix@" exec_prefix="@exec_prefix@" @@ -60,9 +59,9 @@ for lib in ../lib/* do name=`basename $lib` root=`basename $name "$DFT_DEP_SUFFIX"` - if test "$name" == "$root" ; then + if test "$name" = "$root" ; then root=`basename $name "$CXX_LIB_SUFFIX"` - if test "$name" == "$root" ; then + if test "$name" = "$root" ; then continue fi fi @@ -96,9 +95,7 @@ do # add dependencies that pkg-config cannot guess about if test -z "$reqs" ; then - if test -z "$LD_RPATH_OPT" ; then - libs="$libs @LIBS@" - fi + libs="$libs @LIBS@" fi echo "** creating ${name}.pc"