Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / openexrid-unstable / openexrid.patch
blobbbbf75b575dc432d02bed540ceb5df05ac530c30
1 diff --git a/makefile b/makefile
2 index 7a92771..31ef664 100644
3 --- a/makefile
4 +++ b/makefile
5 @@ -8,8 +8,8 @@ _openexrid:
6 _openfx:
7 make -C openfx
9 -_test: _openexrid
10 - make -C test
11 +#_test: _openexrid
12 +# make -C test
14 clean:
15 make -C openfx clean
16 diff --git a/makefile.config b/makefile.config
17 index 0c6cdfa..0166c4c 100644
18 --- a/makefile.config
19 +++ b/makefile.config
20 @@ -4,7 +4,7 @@
22 PREFIX ?= ~/openexrid
24 -OFX_INCLUDE ?= /usr/include/openfx
25 +OFX_INCLUDE ?= /usr/include/OpenFX
26 EXR_INCLUDE ?= /usr/include/OpenEXR
27 EXR_LIB ?= /usr/lib
28 RE2_INCLUDE ?= /usr/include
29 @@ -13,5 +13,5 @@ RE2_LIB ?= /usr/lib
30 VERSION ?= release
31 CPPFLAGS += -O3 -Wall -DNDEBUG -fPIC -I $(EXR_INCLUDE) -I $(OFX_INCLUDE) -I $(RE2_INCLUDE) -Dlinux
32 LDFLAGS += -L$(EXR_LIB) -L$(RE2_LIB) -L../openexrid/$(VERSION) -lpthread
33 -LDFLAGS += -Wl,-Bstatic -lopenexrid -lIlmImf -lIlmThread -lIex -lImath -lHalf -lz -lre2 -Wl,-Bdynamic
34 +LDFLAGS += -lopenexrid -lIlmImf -lIlmThread -lIex -lImath -lHalf -lz -lre2 -Wl,-Bdynamic