ports/net-im/concord/files/patch-src_Makefile
Vladimir Druzenko 27e816ac01 net-im/concord: Improve port
- Add USE_LDCONFIG - port installs .so library.
- Allow build both shared and static libraries at same time.
- Prebuild examples.

PR:		279553
Approved by:	Souji Thenria <mail@souji-thenria.net>
2024-09-30 23:40:33 +03:00

11 lines
431 B
Text

--- src/Makefile.orig 2024-05-06 23:04:41 UTC
+++ src/Makefile
@@ -82,7 +82,7 @@ $(SOLIB): deps
$(ARLIB): deps
$(AR) $(ARFLAGS) $@ $(OBJS) $(GENCODECS_OBJ) $(CORE_OBJS)
$(SOLIB): deps
- $(CC) -shared -lcurl -o $@ $(OBJS) $(GENCODECS_OBJ) $(CORE_OBJS)
+ $(CC) -shared -L$(PREFIX)/lib -lcurl -o $@ $(OBJS) $(GENCODECS_OBJ) $(CORE_OBJS)
$(DYLIB): deps
$(CC) -dynamiclib $(DYFLAGS) -o $@ $(OBJS) $(GENCODECS_OBJ) $(CORE_OBJS)