added the pecl oci8 library for php
had to make an adjustment to the oracle instantclient to make it compile
This commit is contained in:
parent
da53c1248b
commit
4cc3a5a6c9
@ -52,6 +52,9 @@ in stdenv.mkDerivation rec {
|
||||
install -Dm644 *.jar $out/share/java
|
||||
install -Dm644 sdk/include/* $out/include
|
||||
install -Dm644 sdk/demo/* $out/share/${name}/demo
|
||||
|
||||
# PECL::oci8 will not build without this
|
||||
ln -s $out/lib/libclntsh.so.12.1 $out/lib/libclntsh.so
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -160,6 +160,13 @@ let
|
||||
buildInputs = with pkgs; [ cyrus_sasl zlib ];
|
||||
};
|
||||
|
||||
oci8 = buildPecl rec {
|
||||
name = "oci8-2.1.8";
|
||||
sha256 = "1bp6fss2f2qmd5bdk7x22j8vx5qivrdhz4x7csf29vjgj6gvchxy";
|
||||
buildInputs = [ pkgs.re2c pkgs.oracle-instantclient ];
|
||||
configureFlags = [ "--with-oci8=shared,instantclient,${pkgs.oracle-instantclient}/lib" ];
|
||||
};
|
||||
|
||||
pcs = buildPecl rec {
|
||||
name = "pcs-1.3.3";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user