forked from Lainports/freebsd-ports
-fPIC was missing in some cases, and this was somehow flying on 14 but was failing on 15. Reported by: fallout
11 lines
360 B
Text
11 lines
360 B
Text
--- Makefile.orig 2023-12-28 02:58:25 UTC
|
|
+++ Makefile
|
|
@@ -88,7 +88,7 @@ endif
|
|
$(CXX) $(CXXFLAGS) -std=c++17 -flto -O3 -c src/crypto/*.cpp
|
|
endif
|
|
# Create a static library (try windows, then unix)
|
|
- lib.exe /out:uSockets.a *.o || $(AR) rvs uSockets.a *.o
|
|
+ $(CXX) -shared -o libuSockets.so *.o -lssl
|
|
|
|
# BoringSSL needs cmake and golang
|
|
.PHONY: boringssl
|