openbsd-ports/telephony/kamailio/patches/patch-src_Makefile_rules
2022-03-11 19:58:28 +00:00

13 lines
461 B
Plaintext

Index: src/Makefile.rules
--- src/Makefile.rules.orig
+++ src/Makefile.rules
@@ -44,7 +44,7 @@ ALLDEP+=makecfg.lst
crt_type=$(if $(MOD_NAME),M,$(if $(LIB_NAME),L,$(if $(UTIL_NAME),U)))
cmd_CC=$(CC) $(CFLAGS) $(C_INCLUDES) $(INCLUDES) $(C_DEFS) $(DEFS) -c $< -o $@
-cmd_LD=$(LD) $(LDFLAGS) $(objs) $(extra_objs) $(ALL_LIBS) $(SER_RPATH) \
+cmd_LD=$(LD) $(LDFLAGS) -lm $(objs) $(extra_objs) $(ALL_LIBS) $(SER_RPATH) \
-o $(NAME)
ifeq (,$(CC_MKDEP_OPTS))