scancpan: fix detection of native module
[buildroot-gz.git] / package / aiccu / 0002-makefile-reorder-linked-libraries.patch
blob22f04a91a4f19e9a833ca84e15496a1d48ab5453
1 Makefile: change LDFLAGS order on the compile line for --static
3 Signed-off-by: Michael Rommel <rommel@layer-7.net>
5 --- aiccu_20070115.orig/unix-console/Makefile 2007-01-15 12:04:27.000000000 +0100
6 +++ aiccu_20070115/unix-console/Makefile 2013-09-29 22:54:42.742963861 +0200
7 @@ -144,7 +144,7 @@ endif
8 all: aiccu
10 aiccu: $(OBJS) ${SRCS} ${INCS}
11 - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
12 + $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)
13 ifeq ($(shell echo $(CFLAGS) | grep -c "DEBUG"),0)
14 ifeq ($(shell echo "$(RPM_OPT_FLAGS)" | wc -c),1)
15 strip $@