Skip to content

Commit

Permalink
removed pcre lib from jsbsim and rotorcraft sim targets, not needed a…
Browse files Browse the repository at this point in the history
…nd won't compile when the linker uses --as-needed option
  • Loading branch information
flixr committed Oct 24, 2011
1 parent 5d9a0df commit 471720a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/autopilot/subsystems/fixedwing/autopilot.makefile
Expand Up @@ -215,7 +215,7 @@ jsbsim.srcs += $(SIMDIR)/sim_ac_jsbsim.c $(SIMDIR)/sim_ac_fw.c $(SIMDIR)/sim_a

# external libraries
jsbsim.CFLAGS += -I$(SIMDIR) -I/usr/include -I$(JSBSIM_INC) -I$(OCAMLLIBDIR) `pkg-config glib-2.0 --cflags`
jsbsim.LDFLAGS += `pkg-config glib-2.0 --libs` -lm -lpcre -lglibivy -L/usr/lib -lJSBSim
jsbsim.LDFLAGS += `pkg-config glib-2.0 --libs` -lglibivy -lm -L/usr/lib -lJSBSim

jsbsim.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=IvyTransport
jsbsim.srcs += downlink.c $(SRC_FIRMWARE)/datalink.c $(SRC_ARCH)/jsbsim_hw.c $(SRC_ARCH)/jsbsim_ir.c $(SRC_ARCH)/jsbsim_gps.c $(SRC_ARCH)/ivy_transport.c $(SRC_ARCH)/jsbsim_transport.c
Expand Down
2 changes: 1 addition & 1 deletion conf/autopilot/subsystems/rotorcraft/fdm_nps.makefile
Expand Up @@ -21,7 +21,7 @@ sim.ARCHDIR = $(ARCH)

sim.CFLAGS += -DSITL -DUSE_NPS
sim.CFLAGS += `pkg-config glib-2.0 --cflags`
sim.LDFLAGS += `pkg-config glib-2.0 --libs` -lm -lpcre -lglibivy -lgsl -lgslcblas
sim.LDFLAGS += `pkg-config glib-2.0 --libs` -lm -lglibivy -lgsl -lgslcblas
sim.CFLAGS += -I$(NPSDIR) -I$(SRC_FIRMWARE) -I$(SRC_BOARD) -I../simulator -I$(PAPARAZZI_HOME)/conf/simulator/nps

# use the paparazzi-jsbsim package if it is installed, otherwise look for JSBsim under /opt/jsbsim
Expand Down

0 comments on commit 471720a

Please sign in to comment.