<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>Assuming you're speaking about how to link against internal copy
with CMake builds, cf GDAL_USE_TIFF_INTERNAL and <span
class="sig-name descname"><span class="pre">GDAL_USE_JPEG_INTERNAL</span></span>
at <a class="moz-txt-link-freetext" href="https://gdal.org/development/building_from_source.html#tiff">https://gdal.org/development/building_from_source.html#tiff</a> and
<a class="moz-txt-link-freetext" href="https://gdal.org/development/building_from_source.html#jpeg">https://gdal.org/development/building_from_source.html#jpeg</a></p>
<p>Even if you set those, you can still get external libtiff or
libjpeg dependency, if you also link to a GDAL dependency that
links against those, like libgeotiff, librasterlite2, ...<br>
</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 15/02/2023 à 01:57, Fengting Chen a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:BYAPR10MB336632274D94E74439E9D78093A39@BYAPR10MB3366.namprd10.prod.outlook.com">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<div class="WordSection1">
<p class="MsoNormal">Hi, </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">In the old build system, I was able to
build GDAL 3.4 using “—with-libtiff=internal” and
“—with-jpeg=internal” . However, ldd on libgdal.so shows that
it still depends on libtiff.so and libjpeg.so. How to build
GDAL without this dependency?
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks!</p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>