Changeset 5873:6e1396661359 in roaraudio


Ignore:
Timestamp:
01/24/13 13:46:59 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Corrected symlink creation to avoid problems on non-win32 (Closes: #346) (pr1)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5871 r5873  
    1717        * Also set PATH so tests works on win32 as well (Closes: #341) (pr1) 
    1818        * Use 16 bit mixers in roard on win32 to avoid problems with wmm (Closes: #340) (pr1) 
     19        * Corrected symlink creation to avoid problems on non-win32 (Closes: #346) (pr1) 
    1920 
    2021v. 1.0beta8 - Mon Dec 10 2012 12:42 CET 
  • Makefile

    r5864 r5873  
    1313 
    1414ifeq ($(TARGET_TYPE),win32) 
    15 SYMLINKPREFIX=$(DESTDIR)$(PREFIX_LIB)/ 
     15SYMLINKPREFIX_ROOT=$(DESTDIR) 
     16SYMLINKPREFIX=$(SYMLINKPREFIX_ROOT)$(PREFIX_LIB)/ 
    1617else 
     18SYMLINKPREFIX_ROOT= 
    1719SYMLINKPREFIX= 
    1820endif 
     
    6163        sh -c 'set -e; cd lib; for file in lib*$(SHARED_SUFFIX)*; do cp $$file '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_SOVERSION); done' 
    6264        sh -c 'set -e; cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs $(SYMLINKPREFIX)$$file.$(COMMON_SOVERSION) '$(DESTDIR)$(PREFIX_LIB)'/$$file; done' 
    63         sh -c 'set -e; cd lib; while read d t; do if [ -e '$(DESTDIR)$(PREFIX_LIB)'/$$d$(SUFFIX_LIB) ]; then ln -fs '$(DESTDIR)$(PREFIX_LIB)'/$$d$(SUFFIX_LIB) '$(DESTDIR)$(PREFIX_COMP_LIBS)'/$$t; fi; done < ../symlinks.comp' 
     65        sh -c 'set -e; cd lib; while read d t; do if [ -e '$(DESTDIR)$(PREFIX_LIB)'/$$d$(SUFFIX_LIB) ]; then ln -fs '$(SYMLINKPREFIX_ROOT)$(PREFIX_LIB)'/$$d$(SUFFIX_LIB) '$(DESTDIR)$(PREFIX_COMP_LIBS)'/$$t; fi; done < ../symlinks.comp' 
    6466        sh -c 'set -e; cd lib; for file in *$(COMPBIN_SUFFIX); do b=`basename $$file $(COMPBIN_SUFFIX)`; cp $$file '$(DESTDIR)$(PREFIX_COMP_BINS)'/$$b; done' 
    6567        sh -c 'set -e; for file in include/roar* include/lib*; do cp $(cp_v) -r $$file '$(DESTDIR)$(PREFIX_INC)'/; done' 
Note: See TracChangeset for help on using the changeset viewer.