We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db939df commit e70a24fCopy full SHA for e70a24f
1 file changed
sapi/src/template/make.php
@@ -244,7 +244,8 @@
244
<?php if ($this->isLinux()) : ?>
245
# 手动指定依赖库链接顺序
246
<?php if ($this->hasLibrary('pgsql')) : ?>
247
- export LIBS="$LIBS -lcrypto -lssl -lpgcommon -lpgport -lpq"
+ export LIBS="$LIBS -lcrypto -lssl -lpq -lpgcommon -lpgport "
248
+ export LDFLAGS="$LDFLAGS <?= PGSQL_PREFIX ?>/lib/libpq.a <?= PGSQL_PREFIX ?>/lib/libpgcommon.a <?= PGSQL_PREFIX ?>/lib/libpgport.a "
249
<?php endif; ?>
250
<?php if ($this->hasExtension('phpy')) : ?>
251
export LIBS="$LIBS -lcrypto -lssl -lmpdec -lmpdec++ -lbz2 -llzma -lHacl_Hash_SHA2 -lb2 -lexpat -lxml2 -lform -lmenu -ltic -lpanel -lncurses++ -lncurses "
0 commit comments