diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-15 20:12:28 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-15 20:12:28 +0000 |
commit | f3b8ad2720ead8b987c52b6bd10087273a1b8e62 (patch) | |
tree | d590bec96a1f29eb6fc79b31fa724d1840d5aef6 | |
parent | c3355ff13000c2bff82801018be84e59e5bdc733 (diff) |
add comments on what special variables are for
put library path into proper variable for *BSD
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37670 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -11,6 +11,15 @@ # the GNU General Public License # +# All Makefiles use the following variables: +# +# LDFLAGS - linker flags (not libraries), used for all links +# LIBS - additional libraries, at top-level for all links, +# on a single object just for that object +# SOLINK - linker flags used only for creating shared objects (.so files), +# used for all .so links +# + .EXPORT_ALL_VARIABLES: #Uncomment this to see all build commands instead of 'quiet' output @@ -332,7 +341,7 @@ else ASTLINK=-Wl,-E SOLINK=-shared -Xlinker -x ifeq ($(findstring BSD,$(OSARCH)),BSD) - SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib + LDFLAGS+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib endif endif |