mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Added missing fileCVS: ----------------------------------------------------------------------
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22325 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6ed3076cce
commit
5178016380
1 changed files with 20 additions and 0 deletions
20
config/addlibrarypath.m4
Normal file
20
config/addlibrarypath.m4
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
dnl librarypath macros
|
||||||
|
dnl Copyright (C) 2005 Free Software Foundation
|
||||||
|
dnl Copying and distribution of this file, with or without modification,
|
||||||
|
dnl are permitted in any medium without royalty provided the copyright
|
||||||
|
dnl notice and this notice are preserved.
|
||||||
|
dnl
|
||||||
|
dnl Written by Andrew Ruder
|
||||||
|
dnl GS_ADD_LIBRARY_PATH
|
||||||
|
dnl Adds -L$1 -Wl,-R$1 on netbsd and -L$1 elsewhere to LDFLAGS and LDIR_FLAGS
|
||||||
|
AC_DEFUN([GS_ADD_LIBRARY_PATH], [
|
||||||
|
case "$target_os" in
|
||||||
|
netbsd*)
|
||||||
|
LDFLAGS="$LDFLAGS -L$1 -Wl,-R$1"
|
||||||
|
LDIR_FLAGS="$LDIR_FLAGS -Wl-R$1 -L$1";;
|
||||||
|
*)
|
||||||
|
LDFLAGS="$LDFLAGS -L$1"
|
||||||
|
LDIR_FLAGS="$LDIR_FLAGS -L$1";;
|
||||||
|
esac
|
||||||
|
])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue