1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-02 12:02:30 +01:00

pkgconfig - minimize direct linking

Use Libs.private to avoid unnecesary direct linking.

Signed-off-by: Andreas Metzler <ametzler@downhill.at.eu.org>
This commit is contained in:
Andreas Metzler
2010-10-16 16:32:23 +02:00
committed by Carlos R. Mafra
parent 614eb4c9e8
commit 1060f49366
2 changed files with 4 additions and 2 deletions

View File

@@ -97,7 +97,8 @@ WINGs.pc: Makefile
@echo 'Description: Small widget set with the NeXTStep(TM) look and feel' >> $@ @echo 'Description: Small widget set with the NeXTStep(TM) look and feel' >> $@
@echo 'Version: $(VERSION)' >> $@ @echo 'Version: $(VERSION)' >> $@
@echo 'Requires: wrlib' >> $@ @echo 'Requires: wrlib' >> $@
@echo 'Libs: $(lib_search_path) -lWINGs $(XFTLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@ @echo 'Libs: $(lib_search_path) -lWINGs' >> $@
@echo 'Libs.private: $(XFTLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
@echo 'Cflags: $(inc_search_path)' >> $@ @echo 'Cflags: $(inc_search_path)' >> $@
get-wings-flags: get-wings-flags.in Makefile get-wings-flags: get-wings-flags.in Makefile

View File

@@ -59,7 +59,8 @@ wrlib.pc: Makefile
@echo 'Name: wrlib' > $@ @echo 'Name: wrlib' > $@
@echo 'Description: Image manipulation and conversion library' >> $@ @echo 'Description: Image manipulation and conversion library' >> $@
@echo 'Version: $(VERSION)' >> $@ @echo 'Version: $(VERSION)' >> $@
@echo 'Libs: $(lib_search_path) -lwraster $(GFXLIBS) $(XLIBS) -lm' >> $@ @echo 'Libs: $(lib_search_path) -lwraster' >> $@
@echo 'Libs.private: $(GFXLIBS) $(XLIBS) -lm' >> $@
@echo 'Cflags: $(inc_search_path)' >> $@ @echo 'Cflags: $(inc_search_path)' >> $@
get-wraster-flags: get-wraster-flags.in Makefile get-wraster-flags: get-wraster-flags.in Makefile