Skip to content

Commit 21e3b32

Browse files
committed
add conda lib dir to rpath
1 parent 7764061 commit 21e3b32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/gnumake-mac-gcc.inc

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ endif
2929
LIBS += $(PY_CONDA_ROOT)/lib/libpython$(PY_MAJOR_VERSION).$(PY_MINOR_VERSION).dylib
3030
INCPATH += -I$(PY_CONDA_ROOT)/include
3131
INCPATH += -I$(PY_CONDA_ROOT)/include/python$(PY_MAJOR_VERSION).$(PY_MINOR_VERSION)
32+
LDFLAGS += -rpath $(PY_CONDA_ROOT)/lib
3233

3334
ifdef PY_NUMPY
3435
INCPATH += -I$(PY_CONDA_ROOT)/lib/python$(PY_MAJOR_VERSION).$(PY_MINOR_VERSION)/site-packages/numpy/core/include

0 commit comments

Comments
 (0)