|
|
@ -56,7 +56,7 @@ endef |
|
|
|
define Package/samba4-libs |
|
|
|
$(call Package/samba4/Default) |
|
|
|
TITLE+= libs |
|
|
|
DEPENDS:= +zlib +libtirpc +libpopt +libcomerr +libreadline +libcap \
|
|
|
|
DEPENDS:= +zlib +libtirpc +libpopt +libreadline +libcap \
|
|
|
|
+PACKAGE_libpthread:libpthread +PACKAGE_libnettle:libnettle +PACKAGE_libgcrypt:libgcrypt +PACKAGE_libpam:libpam +PACKAGE_dbus:dbus +PACKAGE_libavahi-client:libavahi-client \
|
|
|
|
+SAMBA4_SERVER_VFS:attr \
|
|
|
|
+SAMBA4_SERVER_ACL:acl +SAMBA4_SERVER_ACL:attr \
|
|
|
@ -298,12 +298,12 @@ BUILD_TARGETS_UTILS :=smbstatus,smbtree,smbget,mvxattr,nmblookup |
|
|
|
|
|
|
|
# lib bundling
|
|
|
|
# NOTE: bundle + make private, we want to avoid version configuration (build, link) conflicts
|
|
|
|
CONFIGURE_ARGS += --builtin-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka |
|
|
|
CONFIGURE_ARGS += --builtin-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka,com_err |
|
|
|
HOST_CONFIGURE_ARGS += --builtin-libraries=replace --nonshared-binary=asn1_compile,compile_et |
|
|
|
#CONFIGURE_ARGS += --bundled-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka,replace,!asn1_compile,!compile_et,!popt
|
|
|
|
CONFIGURE_ARGS += --bundled-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka,replace,roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,NONE |
|
|
|
CONFIGURE_ARGS += --bundled-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka,replace,com_err,roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,NONE |
|
|
|
# BUG: --private-libraries, Does not work for System possible libs, will not get "samba4" suffix!
|
|
|
|
CONFIGURE_ARGS += --private-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka,replace |
|
|
|
CONFIGURE_ARGS += --private-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka,replace,com_err |
|
|
|
# CONFIGURE_ARGS += --disable-symbol-versions
|
|
|
|
|
|
|
|
define Host/Compile |
|
|
@ -315,8 +315,9 @@ endef |
|
|
|
|
|
|
|
define Host/Install |
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/bin/ |
|
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/asn1_compile $(STAGING_DIR_HOSTPKG)/bin/ |
|
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/compile_et $(STAGING_DIR_HOSTPKG)/bin/ |
|
|
|
# add host tools suffix, prevent conflicts with krb5 |
|
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/asn1_compile $(STAGING_DIR_HOSTPKG)/bin/asn1_compile_samba |
|
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/compile_et $(STAGING_DIR_HOSTPKG)/bin/compile_et_samba |
|
|
|
endef |
|
|
|
|
|
|
|
define Build/Prepare |
|
|
|