cfr34k-overlay/net-wireless/dxlAPRS/files/0002-dynamic-linking.patch

24 lines
842 B
Diff
Raw Normal View History

diff --git a/src/Makefile b/src/Makefile
index b90c4f7..8ef97f3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -390,16 +390,14 @@ $(OUT)aprsmap-x86_32: $(OBJ_APRSMAP) $(OBJ_COMMON)
@echo [ linking ] $@
@$(CC) $(LFLAGS) -o $(OUT)aprsmap-x86_32 $(OBJ_APRSMAP) \
$(OBJ_COMMON) $(XLIBS) \
- -lpthread -lxcb -lXau -lXdmcp -lm -lpthread -ldl -lz \
- -static
+ -lpthread -lxcb -lXau -lXdmcp -lm -lpthread -ldl -lz
@$(STRIP) $(OUT)aprsmap-x86_32 $(STRIPFLAGS)
$(OUT)aprsmap-x86_64: $(OBJ_APRSMAP) $(OBJ_COMMON)
@echo [ linking ] $@
@$(CC) $(LFLAGS) -o $(OUT)aprsmap-x86_64 $(OBJ_APRSMAP) \
$(OBJ_COMMON) $(XLIBS) \
- -lpthread -lxcb -lXau -lXdmcp -lm -lpthread -ldl -lz \
- -static
+ -lpthread -lxcb -lXau -lXdmcp -lm -lpthread -ldl -lz
@$(STRIP) $(OUT)aprsmap-x86_64 $(STRIPFLAGS)
$(OUT)aprsmap : $(OBJ_APRSMAP) $(OBJ_COMMON)