Makefiles: fix definitions of NAN_OPENEXR_* variables on linux, patch provided
authorStefan Gartner <stefang@aon.at>
Fri, 13 Mar 2009 10:22:49 +0000 (10:22 +0000)
committerStefan Gartner <stefang@aon.at>
Fri, 13 Mar 2009 10:22:49 +0000 (10:22 +0000)
by GSR

source/nan_definitions.mk

index 764ecf3d5568c1ec12f7d1837071e446f74e8770..cc7561ff9b1e578a20dd6cf647e4765bd4b07158 100644 (file)
@@ -140,9 +140,9 @@ endif
       else
         ifeq ($(OS),linux)
           ifeq ($(WITH_OPENEXR), true)
-            NAN_OPENEXR?=$(shell pkg-config --variable=prefix OpenEXR )
-            NAN_OPENEXR_INC?=$(shell pkg-config --cflags OpenEXR )
-            NAN_OPENEXR_LIBS?=$(addprefix ${NAN_OPENEXR}/lib/lib,$(addsuffix .a,$(shell pkg-config --libs-only-l OpenEXR | sed -s "s/-l//g" )))
+            export NAN_OPENEXR?=$(shell pkg-config --variable=prefix OpenEXR )
+            export NAN_OPENEXR_INC?=$(shell pkg-config --cflags OpenEXR )
+            export NAN_OPENEXR_LIBS?=$(addprefix ${NAN_OPENEXR}/lib/lib,$(addsuffix .a,$(shell pkg-config --libs-only-l OpenEXR | sed -s "s/-l//g" )))
           endif
         else
           ifeq ($(OS), solaris)