Index: /issm/trunk-jpl/src/wrappers/matlab/Makefile.am
===================================================================
--- /issm/trunk-jpl/src/wrappers/matlab/Makefile.am	(revision 24661)
+++ /issm/trunk-jpl/src/wrappers/matlab/Makefile.am	(revision 24662)
@@ -96,10 +96,10 @@
 #
 if STANDALONE_MODULES
-if MAC
-AM_LDFLAGS += -Wl,-rpath,'$$ORIGIN'
-else
+#if MAC
+#AM_LDFLAGS += -Wl,-rpath,'$$ORIGIN'
+#else
 AM_LDFLAGS += -Wl,-static -Wl,--disable-new-dtags -Wl,-rpath,'$$ORIGIN'
 endif
-endif
+#endif
 
 AM_CXXFLAGS += -D_HAVE_MATLAB_MODULES_ -fPIC
Index: /issm/trunk-jpl/src/wrappers/python/Makefile.am
===================================================================
--- /issm/trunk-jpl/src/wrappers/python/Makefile.am	(revision 24661)
+++ /issm/trunk-jpl/src/wrappers/python/Makefile.am	(revision 24662)
@@ -72,10 +72,10 @@
 #
 if STANDALONE_MODULES
-if MAC
-AM_LDFLAGS += -Wl,-rpath,'$$ORIGIN'
-else
+#if MAC
+#AM_LDFLAGS += -Wl,-rpath,'$$ORIGIN'
+#else
 AM_LDFLAGS += -Wl,-static -Wl,--disable-new-dtags -Wl,-rpath,'$$ORIGIN'
 endif
-endif
+#endif
 
 AM_LDFLAGS 	+= --no-warnings
