[svn-commits] trunk r37670 - /trunk/Makefile
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Sat Jul 15 13:12:29 MST 2006
Author: kpfleming
Date: Sat Jul 15 15:12:28 2006
New Revision: 37670
URL: http://svn.digium.com/view/asterisk?rev=37670&view=rev
Log:
add comments on what special variables are for
put library path into proper variable for *BSD
Modified:
trunk/Makefile
Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?rev=37670&r1=37669&r2=37670&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sat Jul 15 15:12:28 2006
@@ -9,6 +9,15 @@
#
# This program is free software, distributed under the terms of
# 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:
@@ -332,7 +341,7 @@
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
More information about the svn-commits
mailing list