Skip to content

Commit c11f202

Browse files
committed
Remove ports.get_lib_name use
1 parent c51c02a commit c11f202

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ports/giflib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def needed(settings):
1818
def get(ports, settings, shared):
1919
ports.fetch_project('giflib', f'https://vorboss.dl.sourceforge.net/project/giflib/giflib-{VERSION}.tar.gz', f'giflib-{VERSION}', sha512hash=HASH)
2020

21-
libname = ports.get_lib_name('libgif')
21+
libname = 'libgif.a'
2222

2323
def create():
2424
logging.info('building port: giflib')
@@ -39,7 +39,7 @@ def create():
3939

4040

4141
def clear(ports, settings, shared):
42-
shared.Cache.erase_file(ports.get_lib_name('libgif'))
42+
shared.Cache.erase_file('libgif.a')
4343

4444

4545
def process_args(ports):

0 commit comments

Comments
 (0)