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:
committed by
Carlos R. Mafra
parent
614eb4c9e8
commit
1060f49366
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user