mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 20:50:31 -04:00
- 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>
11 lines
431 B
Text
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)
|
|
|