Skip to content

Commit

Permalink
Merge pull request avrdudes#1625 from ndim/detect-dynamic-libreadline…
Browse files Browse the repository at this point in the history
…-in-USE_STATIC_LIBS-case

Detect dynamic readline and serialport libraries for avrdude USE_STATIC_LIBS builds
  • Loading branch information
stefanrueger authored Jan 22, 2024
2 parents e1def05 + 0b9d1bc commit a922799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ if(USE_STATIC_LIBS)
set(PREFERRED_LIBHIDAPI libhidapi.a libhidapi-libusb.a libhidapi-hidraw.a hidapi hidapi-libusb hidapi-hidraw)
set(PREFERRED_LIBFTDI libftdi.a ftdi)
set(PREFERRED_LIBFTDI1 libftdi1.a ftdi1)
set(PREFERRED_LIBREADLINE libreadline.a)
set(PREFERRED_LIBSERIALPORT libserialport.a)
set(PREFERRED_LIBREADLINE libreadline.a readline)
set(PREFERRED_LIBSERIALPORT libserialport.a serialport)
set(PREFERRED_LIBGPIOD libgpiod.a gpiod)
else()
set(PREFERRED_LIBELF elf)
Expand Down

0 comments on commit a922799

Please sign in to comment.