ezelkow1 commented on PR #10102:
URL: https://github.com/apache/trafficserver/pull/10102#issuecomment-1652546526

   Before the change: 
   `g++ -std=c++14 -O3 -g -Wl,-rpath 
-Wl,/opt/openssl-quic-openssl-3.0.9+quic/lib64 -o .libs/nghttp util.o http2.o 
timegm.o app_helper.o nghttp2_gzip.o nghttp.o HtmlParser.o tls.o -pthread  
../lib/.libs/libnghttp2.so ../third-party/.libs/liburl-parser.a 
../third-party/.libs/libllhttp.a -ljemalloc -L/usr/lib/x86_64-linux-gnu -lxml2 
-lev -L/opt/lib /opt/lib/libnghttp3.so /opt/lib/libngtcp2_crypto_openssl.so 
/opt/lib/libngtcp2.so -L/opt/openssl-quic-openssl-3.0.9+quic/lib64 -lssl 
-lcrypto -lcares -lsystemd -ljansson -lz -ldl -pthread -Wl,-rpath -Wl,/opt/lib`
   
   quic openssl is added to the rpath via the LDFLAGS but then the ordering of 
locations is -Lsystem -L/opt/lib -L/opt/quic-openssl. So my build was always 
pulling the ssl lib from the system location. This adds a -L/opt/quic-openssl 
to LDFLAGS to ensure it's first


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to