From d6554ccc1ec223c52f33ff034491e64ac1fa92aa Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 9 Sep 2008 21:28:44 +0000 Subject: 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 --- src/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3