Refresh dynamic link cache after libjs install
authorDan Scott <dscott@laurentian.ca>
Sat, 10 Sep 2011 16:28:32 +0000 (12:28 -0400)
committerDan Scott <dscott@laurentian.ca>
Sat, 10 Sep 2011 16:39:16 +0000 (12:39 -0400)
The build of SpiderMonkey can fail if it can't find the freshly
installed libjs library, so run ldconfig after building libjs to avoid
that bit o' fun.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/extras/Makefile.install

index d7347a4..d029588 100644 (file)
@@ -340,6 +340,7 @@ install_libjs:
                cp js/src/Linux_All_DBG.OBJ/*.so $(JS_INSTALL_PREFIX)/lib/ && \
                cp js/src/Linux_All_DBG.OBJ/*.a $(JS_INSTALL_PREFIX)/lib/; \
        fi;
+       ldconfig
 
 install_spidermonkey:
        if [ ! -f $(LIBJS_PERL).tar.gz ]; then wget $(LIBJS_PERL_URL); fi;