Questions tagged [ldflags]

LDFLAGS is a variable used in Makefiles. Specifically its value is added to linker command lines when the linker is invoked by an implicit rule.

LDFLAGS is a variable used in Makefiles. Specifically its value is added to linker command lines when the linker is invoked by an implicit rule.

64 questions
-1
votes
1 answer

Dynamic OTHER_LDFLAGS in Xcode that are different between Mac (iPadOS designed app) and iOS app

I want to define different OTHER_LDFLAGS for the MacOS app and iOS app. We have one project that builds from iOS to iPhone / iPad / MacOS (iPad-designed iOS) apps. For iPhone and iPad I require to use one bunch of flags but for MacOS…
-1
votes
1 answer

autotools: Makefile.am: link if file exists

my Makefile.am creates the executable main: "symplerTest" i want to link the files "geometry/source/*.o". Currently im linking it like this: symplerTest_LDFLAGS = \ ... geometry/source/*.o That works. But now in a next step, i want to link…
mudi_lou
  • 13
  • 3
-1
votes
1 answer

How to add my lib to LDFLAGS?

I have next structure of a project: cruceGame/ src/ libCruceGame/... cruceGameCurses/... multiplayerCurses/... networking/... parser/... docs/...this doesn't matter... The project has a Makefile.am in…
Mihail Feraru
  • 175
  • 1
  • 3
  • 14
-2
votes
1 answer

Go - "version" package and How it works?

I am researching approaches to organize projects in different open source projects (for example operator-framework/operator-sdk) and sometime find version package with version.go file: ├── build ├── cmd ├── deploy ├── go.mod ├── go.sum ├── pkg ├──…
kozmo
  • 4,024
  • 3
  • 30
  • 48
1 2 3 4
5