unitas-misc/media-radio/dxlAPRS/files/dxlAPRS-20241117-no-static-...

23 lines
830 B
Diff

diff -Naur src.orig/Makefile src/Makefile
--- src.orig/Makefile 2024-11-17 18:24:00.000000000 +0100
+++ src/Makefile 2024-12-18 20:10:30.311297575 +0100
@@ -144,9 +144,6 @@
OUT := $(if $(OUT),$(OUT),../out-x86_32/)
CFLAGS += -m32
LFLAGS += -m32
- TARGETS += $(OUT)aprsmap-x86_32
-else ifneq ($(HOSTOS),Darwin)
-TARGETS += $(OUT)aprsmap-x86_64
endif
OUT := $(if $(OUT),$(OUT),../out-x86_64/)
# -------------------------- x86_32 (default) specific ------------------------
@@ -528,7 +525,7 @@
$(OUT)waterfall3: $(OBJ_WATERFALL3) $(OBJ_COMMON)
@echo [ linking ] $@
- $(CC) $(LFLAGS) -o $@ $(OBJ_WATERFALL3) $(OBJ_COMMON) $(GFXLIBS) $(EXTLIB)libfftw3.a -lm
+ $(CC) $(LFLAGS) -o $@ $(OBJ_WATERFALL3) $(OBJ_COMMON) $(GFXLIBS) -lfftw3 -lm
@$(STRIP) $@ $(STRIPFLAGS)
$(OUT)downsample: $(OBJ_DOWNSAMPLE) $(OBJ_COMMON)