Fixed 'pkgconfigdir' on FreeBSD (thanks to Xin LI).
This commit is contained in:
parent
f096b3c7fa
commit
53d9ede9de
22
SConstruct
22
SConstruct
@ -1072,7 +1072,7 @@ DIST_SUBDIRS = $(SUBDIRS) autotools
|
|||||||
#AUTOMAKE_OPTIONS = dist-bzip2
|
#AUTOMAKE_OPTIONS = dist-bzip2
|
||||||
AUTOMAKE_OPTIONS = no-dist
|
AUTOMAKE_OPTIONS = no-dist
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(VMIME_PKGCONFIGDIR)
|
||||||
pkgconfig_DATA = $(GENERIC_VERSIONED_LIBRARY_NAME).pc
|
pkgconfig_DATA = $(GENERIC_VERSIONED_LIBRARY_NAME).pc
|
||||||
|
|
||||||
EXTRA_DIST=SConstruct bootstrap
|
EXTRA_DIST=SConstruct bootstrap
|
||||||
@ -1699,6 +1699,26 @@ fi
|
|||||||
|
|
||||||
configure_in.write("""
|
configure_in.write("""
|
||||||
|
|
||||||
|
#
|
||||||
|
# Workarounds for some platforms
|
||||||
|
#
|
||||||
|
|
||||||
|
# -- pkgconfigdir
|
||||||
|
case "x${target_os}" in
|
||||||
|
xfreebsd*)
|
||||||
|
|
||||||
|
VMIME_PKGCONFIGDIR='$(prefix)/libdata/pkgconfig'
|
||||||
|
;;
|
||||||
|
|
||||||
|
x*)
|
||||||
|
|
||||||
|
VMIME_PKGCONFIGDIR='$(libdir)/pkgconfig'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
AC_SUBST(VMIME_PKGCONFIGDIR)
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Flags
|
# Flags
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user