Skip to content

Commit 40d8795

Browse files
committed
build/debian: enable the extension by default
I guess it is the behaviour, which is expected by a user: when an extension is installed it should be available for use. Part of #117
1 parent c3b2867 commit 40d8795

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ install/php7.0-tarantool::
1919
debian/php7.0-tarantool/usr/lib/php/$(phpapi)/
2020
echo extension=tarantool.so \
2121
> debian/php7.0-tarantool/etc/php/7.0/mods-available/tarantool.ini
22+
# Enable the extension.
23+
install -m 0755 -d debian/php7.0-tarantool/etc/php/7.0/cli/conf.d
24+
ln -s /etc/php/7.0/mods-available/tarantool.ini \
25+
debian/php7.0-tarantool/etc/php/7.0/cli/conf.d/50-tarantool.ini
2226

2327
clean::
2428
phpize --clean

0 commit comments

Comments
 (0)