diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-05-28 12:50:05 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-05-30 04:15:11 +0200 |
commit | 3ef62345abe8321a141831ab9d8cda4d096407b0 (patch) | |
tree | 6a814aecc3561e8af38a2d48df0a0663798fad01 | |
parent | 8ddd2a869b76b6fc298f1d08dbf496b3431ddce4 (diff) | |
download | samba-3ef62345abe8321a141831ab9d8cda4d096407b0.tar.gz samba-3ef62345abe8321a141831ab9d8cda4d096407b0.tar.bz2 samba-3ef62345abe8321a141831ab9d8cda4d096407b0.zip |
build: Provide .pc file for libnetapi
This is not the exact same file as the autoconf build, because of
the differnet processing semantics.
Andrew Bartlett
-rw-r--r-- | source3/libnet/netapi.pc.in | 11 | ||||
-rwxr-xr-x | source3/wscript_build | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/source3/libnet/netapi.pc.in b/source3/libnet/netapi.pc.in new file mode 100644 index 0000000000..a699027227 --- /dev/null +++ b/source3/libnet/netapi.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Samba libnetapi +Description: A library to control CIFS servers +Version: @PACKAGE_VERSION@ +Libs: @LIB_RPATH@ -L${libdir} -lnetapi +Cflags: -I${includedir} +URL: http://www.samba.org/ diff --git a/source3/wscript_build b/source3/wscript_build index 13ecefde73..339614ecdc 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -635,7 +635,7 @@ bld.SAMBA3_LIBRARY('netapi', INIT_SAMR ''', public_headers='../source3/lib/netapi/netapi.h', - pc_files=[], + pc_files='libnet/netapi.pc', vnum='0', vars=locals()) |