Skip to content

Why force linking compression library through LDFLAGS? #167

Closed

Description

@Stumble

// #cgo LDFLAGS: -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -ldl

// #cgo LDFLAGS: -l:librocksdb.a -l:libstdc++.a -l:libz.a -l:libbz2.a -l:libsnappy.a -lm

If rocksdb is compiled without the above compression library, link will fail.

Activity

  1. tecbot commented on Sep 24, 2019

    @tecbot
    Owner

    @Stumble should be save to remove them. Could you provide a PR?

  2. Stumble commented on Sep 24, 2019

    @Stumble
    ContributorAuthor
  3. ferhatelmas commented on Nov 14, 2019

    @ferhatelmas
    Contributor

    Since PR is merged, this is good to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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