Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:601 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51543 invoked from network); 2 Apr 2003 12:16:58 -0000 Received: from unknown (HELO wmeler.t1.gda.wp-sa.pl) (212.77.105.136) by pb1.pair.com with SMTP; 2 Apr 2003 12:16:58 -0000 Received: (from wmeler@localhost) by wmeler.t1.gda.wp-sa.pl (8.11.6/8.11.6) id h32CGv008412 for internals@lists.php.net; Wed, 2 Apr 2003 14:16:57 +0200 X-Authentication-Warning: wmeler.t1.gda.wp-sa.pl: wmeler set sender to wmeler@wp-sa.pl using -f Date: Wed, 2 Apr 2003 14:16:56 +0200 To: internals@lists.php.net Message-ID: <20030402141656.C1151@wp-sa.pl> Reply-To: wmeler@wp-sa.pl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: how to disable extension in cli From: wmeler@wp-sa.pl (Wojtek Meler) Is there a way to tell PHP to not include some sources in CLI build? PHP_NEW_EXTENSION( mymodule , mymodule.c , nocli) doesn't work as I expected - it doesn't include extension in main/internal_functions_cli.c but it link mymodule.o to sapi/cli/php. regards, Wojtek