aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-09-09 21:28:44 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-09-09 21:28:44 +0000
commitd6554ccc1ec223c52f33ff034491e64ac1fa92aa (patch)
tree353003ffc63d684a99a19fcf96b45d4ba4effa1e /src
parent36db9a046b5bb3e60968236a0c24c88e4b18fb82 (diff)
downloadusdx-d6554ccc1ec223c52f33ff034491e64ac1fa92aa.tar.gz
usdx-d6554ccc1ec223c52f33ff034491e64ac1fa92aa.tar.xz
usdx-d6554ccc1ec223c52f33ff034491e64ac1fa92aa.zip
FreeBSD compatibility fixes:
- libpng -> libpng12 - arithmetic expressions with no argument do not work $(()) -> check for empty minor/major/release version added (error occurred with portaudio. The version is simply 19) - duplicates in linker flags removed (-L...) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1356 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 534fe73f..110d3fec 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -133,7 +133,7 @@ endif
LIBS ?= @LIBS@
LDFLAGS ?= @LDFLAGS@
-linkflags := $(strip $(LDFLAGS) $(LIBS))
+linkflags := $(sort $(LDFLAGS) $(LIBS))
ifneq ($(linkflags),)
PLINKFLAGS := -k"$(linkflags)"
endif