[FFmpeg-devel] lib*.pc paths
Morten Bøgeskov
morten
Tue Apr 29 10:58:39 CEST 2008
Hello...
From configure:
...
# installation paths
prefix="/usr/local"
libdir='$(PREFIX)/lib'
shlibdir="$libdir"
incdir='$(PREFIX)/include'
mandir='$(PREFIX)/share/man'
bindir='$(PREFIX)/bin'
...
cat <<EOF >$name.pc
prefix=$prefix
exec_prefix=\${prefix}
libdir=$libdir
includedir=$incdir
Name: $name
Description: $comment
Version: $version
Requires: $requires
Conflicts:
Libs: -L\${libdir} $libs
Cflags: -I\${includedir}
EOF
}
This results in (with --prefix=/opt):
# cat libavcodec.pc
prefix=/opt
exec_prefix=${prefix}
libdir=$(PREFIX)/lib
includedir=$(PREFIX)/include
...
Not a real good includepath ;-)
-I$(PREFIX)/include
--
Morten B?geskov (morten at bogeskov.dk)
More information about the ffmpeg-devel
mailing list