Skip to content
This repository was archived by the owner on Jun 2, 2019. It is now read-only.
This repository was archived by the owner on Jun 2, 2019. It is now read-only.

link order broken when generating codelite projects (Linux/gcc/pthread) #16

@kmar

Description

@kmar

Hi,
not sure if this is a codelite problem or not, but I've noticed that when specifying link,
projects are generated in Linker/option tag but pthread goes into Library/value tag.
The problem is that codelite then puts -lpthread before options, so I get unresolved externals
when linking.
Maybe it would be better to be consistent here and either add -lpthread to options or (if possible) add projects to Library/value as well.

Steps to reproduce:

generate static library project that depends on pthreads
links {"library", "pthread"}
build worspace for codelite

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions