Skip to content

Commit 538f6f7

Browse files
committed
Fix lib directory path
When customizing the Autoconf's lib directory option with for example: ./configure --libdir=--libdir=/usr/lib/x86_64-linux-gnu This lib directory should be also inserted in the generated *.pc files.
1 parent a71edb6 commit 538f6f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sapi/embed/php-embed.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
prefix=@prefix@
1313
exec_prefix=@exec_prefix@
1414
includedir=@includedir@/php
15-
libdir=@exec_prefix@/lib
15+
libdir=@orig_libdir@
1616
# The extension_dir PHP INI directive absolute path.
1717
extensiondir=@EXPANDED_EXTENSION_DIR@
1818
# PHP version as integer.

scripts/php.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
prefix=@prefix@
1313
exec_prefix=@exec_prefix@
1414
includedir=@includedir@/php
15-
libdir=@exec_prefix@/lib
15+
libdir=@orig_libdir@
1616
# The extension_dir PHP INI directive absolute path.
1717
extensiondir=@EXPANDED_EXTENSION_DIR@
1818
# PHP version as integer.

0 commit comments

Comments
 (0)