cross compile: -lshlwapi not hard-coded,

but via $(cmpp_LDADD)
Patch suggested by Érico Rolim
This commit is contained in:
Holger Vogt 2020-11-14 17:32:53 +01:00
parent 5c4af54be1
commit 68e14ad519
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ BUILD_CMPP_FILES = main.c file_buffer.c \
build/cmpp$(BUILD_EXEEXT) : $(BUILD_CMPP_FILES)
$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) \
$(AM_CPPFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ $^ -lshlwapi
$(AM_CPPFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ $^ $(cmpp_LDADD)
distclean-local:
-rm -rf build