IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3795 for trunk/pois/swig


Ignore:
Timestamp:
Apr 29, 2005, 8:30:13 AM (21 years ago)
Author:
rhl
Message:

Be smarter about installing swigged libraries for python

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pois/swig/Makefile.am

    r3792 r3795  
    7676install-exec-hook:
    7777        cd $(prefix)/lib && \
    78         for f in $(SWIG_LIB_NAMES); do $(LN_S) -f lib$$f.so _$$f.so; done
     78        for f in $(SWIG_LIB_NAMES); do \
     79           $(LN_S) -f `perl -ne "if(/dlname='([^']+)'/) { print \\$$1; exit }" lib$$f.la` _$$f.so; \
     80        done
    7981
    8082uninstall-local:
Note: See TracChangeset for help on using the changeset viewer.