-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compiler hashtable.c and pinyin.c directly, do not use static library
- Loading branch information
Showing
3 changed files
with
12 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
PHP_ARG_WITH(pinyin, for pinyin support, | ||
[ --with-pinyin Include pinyin support]) | ||
|
||
cd ./pinyin/ | ||
make | ||
cd .. | ||
dnl cd ./pinyin/ | ||
dnl make | ||
dnl cd .. | ||
|
||
PHP_ADD_INCLUDE(pinyin) | ||
|
||
PHP_ADD_LIBPATH(pinyin, PINYIN_SHARED_LIBADD) | ||
PHP_ADD_LIBRARY(pinyin,pinyin, PINYIN_SHARED_LIBADD) | ||
PHP_SUBST(PINYIN_SHARED_LIBADD) | ||
dnl PHP_ADD_LIBPATH(pinyin, PINYIN_SHARED_LIBADD) | ||
dnl PHP_ADD_LIBRARY(pinyin,pinyin, PINYIN_SHARED_LIBADD) | ||
dnl PHP_SUBST(PINYIN_SHARED_LIBADD) | ||
|
||
if test "$PHP_PINYIN" != "no"; then | ||
PHP_NEW_EXTENSION(pinyin, pinyin.c ,$ext_shared) | ||
fi | ||
dnl if test "$PHP_PINYIN" != "no"; then | ||
PHP_NEW_EXTENSION(pinyin, pinyin.c \ | ||
pinyin/hashtable.c \ | ||
pinyin/pinyin.c \ | ||
,$ext_shared) | ||
dnl fi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.