mirror of
https://github.com/samba-team/samba.git
synced 2025-07-20 08:59:06 +03:00
r26575: Build a private copy of the Python executable for Samba 4, so we know we're always using the same library we build the modules for.
(This used to be commit 03270c5ffd
)
This commit is contained in:
committed by
Stefan Metzmacher
parent
2d400c1dd1
commit
1ab5bcfb93
25
source4/scripting/python/smbpython.c
Normal file
25
source4/scripting/python/smbpython.c
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
Unix SMB/CIFS implementation.
|
||||
Samba utility functions
|
||||
Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include <Python.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
return Py_Main(argc,argv);
|
||||
}
|
Reference in New Issue
Block a user