Changeset 62d71fe1d2c90a77c699f1e6fdb199b969461ea6

Show
Ignore:
Timestamp:
12/09/04 16:27:48 (4 years ago)
Author:
Sigmund Augdal Helberg <sigmunau@videolan.org>
git-committer:
Sigmund Augdal Helberg <sigmunau@videolan.org> 1102606068 +0000
git-parent:

[6c733713f98ca9c47ecf6cb4061eb5d00527d45c]

git-author:
Sigmund Augdal Helberg <sigmunau@videolan.org> 1102606068 +0000
Message:

vlc-config.in.in: added a new "external" target that allow external projects
to link with a make installed libvlc

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • vlc-config.in.in

    r0001dd3 r62d71fe  
    203203    mozilla) 
    204204      ;; 
     205    external) 
     206      echo_external=yes 
     207      ldflags="${ldflags} -lvlc" 
     208      ;;       
    205209    *) 
    206210      module="$1" 
     
    294298    fi 
    295299  fi 
     300  if test "${echo_external}" = yes; then 
     301    if test "${echo_pic}" = yes; then 
     302      for module in `echo "${builtins}"`; do 
     303        ldflags="${ldflags} @libdir@/vlc/lib${module}_pic.a" 
     304      done 
     305    else 
     306      for module in `echo "${builtins}"`; do 
     307        ldflags="${ldflags} @libdir@/vlc/lib${module}.a" 
     308      done 
     309    fi 
     310    for module in `echo "${builtins}"`; do 
     311      register_flags "${module}" 
     312    done 
     313    register_flags "vlc" 
     314  fi 
    296315  echo "${libs} ${ldflags}" 
    297316fi 
    298